This repository is intended for instructor led training purposes. I is created to facilitate a VMUG workshop in Denmark held in May 2022.
The workshop is intended to be executed in a VMware Hands On Lab environment. Details will follow this short introduction.
vRO URL - https://vr-automation.corp.local/vco/
| Resource | Username | Password |
|---|---|---|
| vSphere Client | administrator@vsphere.local | VMware1! |
| vRO Control Panel | root | VMware1! |
| vRO Client | holadmin | VMware1! |
| Windows VM (windows-0602) | administrator | VMware1! |
# Clone Git repository
mkdir C:\Users\Administrator\Documents\Github
cd C:\Users\Administrator\Documents\Github
git clone https://github.com/KnutssonDevelopment/Train-a-Monkey-to-do-the-boring-stuff/
cd Train-a-Monkey-to-do-the-boring-stuffThe Real PSWindowsUpdate module has been replaced with a fake modules that only outputs to the screen, and can do an automatic reboot.
- Create bookmarks for relevant URLs
- Delete irrelevant URLs
- Snapshot Windows VM
- Shutdown windows-0602
- Take a base snapshot
- PowerOn windows-0602
- Enable Windows Update Service
- Revert WU GPO
- Set Service to Manuel
- Reboot VM
- Prepare Windows for scripting
- Install-Module PSWindowsUpdate -Confirm:$false
# Install PSWindowsUpdate from GIT Repo
net use Z: \\windows-0602\c$
xcopy PSModules\PSWindowsUpdate 'Z:\Program Files\WindowsPowershell\Modules\'