Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.46 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.46 KB

PowerShell Modules

PowerShell modules used to build new Windows boxes from scratch.

Build status

Requirements

  • PowerShell V3 or higher.
  • Windows 2012R2, 2016, or Windows10.
  • PowerShell package management preview or WMF 5 installed.

Modules

  • 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

Notes

  • Get PowerShell version: $PSVersionTable.PSVersion
  • PSGallery set to trusted: Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
  • Install module example: Install-Module -Name 'WindowsBox.WindowsUpdates'

Links