This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Boxstarter.RebootOk=$true | |
# enable psremoting | |
Write-Output "Enabling PSRemoting" | |
Enable-PSRemoting -Force | |
# for write-zip file | |
cinst pscx -y | |
# manage updates from powershell | |
cinst pswindowsupdate -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Boxstarter.RebootOk=$true | |
# enable psremoting | |
Write-Output "Enabling PSRemoting" | |
Enable-PSRemoting -Force | |
# manage updates from powershell | |
cinst pswindowsupdate -y | |
if($PSVersionTable.PSVersion -lt (New-Object 'Version' 5,0,10018,0)) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Boxstarter options | |
$Boxstarter.RebootOk = $true # Allow reboots? | |
$Boxstarter.AutoLogin = $true # Save my password securely and auto-login after a reboot | |
Install-WindowsUpdate -AcceptEula |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/jamesallen-cm/1ba1f92cdfc6df47ef94/raw/74b7e7e2bcf68e3c20141aa57738ab24d8e09b52/boxstarter-winupdate.ps1 |
OlderNewer