Body:
This is a very very quick post about installing RSAT for Windows 10 via this function script I created
And what better way than a simple 1 liner to grab and run the script
Invoke-Expression (New-Object Net.WebClient).DownloadString(‘http://bit.ly/Win10RSATinstall2’)
And if you want to look at the Script then direct link is http://bit.ly/Win10RSATinstall2
Hope this is useful for you
PS credit (again) goes to @lee_holmes for the idea from following tweet https://twitter.com/lee_holmes/status/318799702869041153
I plan on turning this into a DSC Resource (or adding it to an existing resource) when I get the chance to β unless someone beats me to it.
Sorry but this link redirects to https://raw.githubusercontent.com/kilasuit/PoshFunctions/Dev/Install-Win10RSATTools.ps1 and displays a Not-Found Error.
Thanks for picking this up and alerting me on this.
I’ve Updated the link used as I’ve restructured the GitHub Repository where the function lives since I originally posted this article.
You should now be able to get the function and this should now work for you if you try it
bit.ly link gives error too . Ref – https://goo.gl/photos/cx98C1x2GpsNvHjw7
In the replaced link I hadn’t Capitalised the ‘i’ in the link – http://bit.ly/Win10RSATinstall2
This has been amended and will now work π
Thanks again for pointing this out!
You should have a reboot warning. I used it and suddenly without warning my computer rebooted. Had tons of stuff going, so it was annoying
In the line “Enable-WindowsOptionalFeature -Online -FeatureName `” add the -NoRestart switch.
Then add below the If statement something like:
$input = Read-Host “Restart computer now [y/n]”
switch($input){
y{Restart-computer -Force -Confirm:$false}
n{exit}
default{write-warning “Invalid Input”}
}