Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.
96
93%
Does it follow best practices?
Impact
100%
1.47xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
WinRM communicator configuration for AWS Windows builds
WinRM communicator
100%
100%
WinRM SSL enabled
100%
100%
WinRM insecure flag
100%
100%
WinRM timeout
0%
100%
WinRM username
100%
100%
User data file
100%
100%
PowerShell wrapper tags
100%
100%
WinRM quickconfig
100%
100%
Firewall ports opened
100%
100%
AMI name with timestamp
100%
100%
source_ami_filter most_recent
100%
100%
AMI owners = amazon
100%
100%
PowerShell provisioner and Chocolatey software installation
Execution policy in Chocolatey step
0%
100%
Chocolatey install URL
100%
100%
Chocolatey iex invocation
100%
100%
choco install Chrome
100%
100%
choco install 7-Zip
100%
100%
IIS via Install-WindowsFeature
100%
100%
PowerShell provisioner type
100%
100%
WinRM communicator
100%
100%
AMI name with timestamp
100%
100%
User data file for WinRM
100%
100%
Windows Updates, restart handling, and image cleanup
NuGet provider install
0%
100%
PSWindowsUpdate module install
0%
100%
PSWindowsUpdate import
0%
100%
Get-WindowsUpdate invocation
0%
100%
Update provisioner timeout
30%
100%
windows-restart provisioner
20%
100%
Restart timeout
62%
100%
Temp files cleanup
100%
100%
wuauserv stop before cleanup
0%
100%
SoftwareDistribution cleanup
60%
100%
wuauserv restart after cleanup
0%
100%
9f2ede9
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.