PDQ Deploy and Windows Features

Comments

4 comments

  • Stephen Valdinger

    Powershell Step:

    Add-WindowsCapability -Online -Name NetFx3~~~~

    Yes, the tildes are required.

    0
    Comment actions Permalink
  • Stephen Valdinger

    Meh, don't do that. Doesn't work as intended I'm finding. Might need to go the DISM route. BRB, testing.

    0
    Comment actions Permalink
  • Jon

    Thanks...I found a Package in the Package Library that worked for .Net 3.5. 

    0
    Comment actions Permalink
  • Stephen Valdinger

    Bingo. 

    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:C:\temp\microsoft-windows-netfx3-ondemand-package.cab

    In my testing I had to use a source file. So you could use a Copy Step to copy over the microsoft-windows-netfx3-ondemand-package.cab file from your installation media's Sources/SXS folder.

    Powershell step to run the code above. 

    Second Powershell step to cleanup the file copied previous:

    Remove-Item C:\temp\microsoft-windows-netfx3-ondemand-package.cab -Force
    0
    Comment actions Permalink

Please sign in to leave a comment.