PowerShell modules used to build new Windows boxes from scratch.
- PowerShell V3 or higher.
- Windows 2012R2, 2016, or Windows10.
- PowerShell package management preview or WMF 5 installed.
- Install Windows Updates
- Configure WinRM
- Set NICs to private
- Disable Hibernate
- Disable AutoLogon
- Disable UAC
- Enable RDP
- Enable dev mode and install Ubuntu subsystem
- Configure Explorer
- Configure Vagrant account
- Install VM Guest Tools
- Defrag/Compact drive
- Get PowerShell version:
$PSVersionTable.PSVersion
- PSGallery set to trusted:
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
- Install module example:
Install-Module -Name 'WindowsBox.WindowsUpdates'