Skip to content

Instantly share code, notes, and snippets.

@michaelkc
Last active August 29, 2015 14:11
Show Gist options
  • Save michaelkc/62397491f63a4bd75613 to your computer and use it in GitHub Desktop.
Save michaelkc/62397491f63a4bd75613 to your computer and use it in GitHub Desktop.
BoxStarter2012R2ADFS
# Invoke using following syntax:
# http://boxstarter.org/package/url?[input url to this gists]
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Enable-RemoteDesktop
Disable-InternetExplorerESC
Disable-UAC
Set-TaskbarOptions -Size Small -Lock -Dock Bottom
Enable-RemoteDesktop
# Windows features
choco install DotNet4.0
choco install fiddler4
choco install TotalCommander
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
Add-WindowsFeature ADFS-Federation -IncludeManagementTools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment