While attempting to use Watchmaker userdata with a Windows Server 2025 AMI, received an error output in the watchmaker.log stating 'wmic' is not recognized as an internal or external command.
Salt_call.debug.log entry:
'wmic' is not recognized as an internal or external command, operable program or batch file.
This is a deprecated command and the recommendation is to use PowerShell cmdlets such as Get-CimInstance for the same functionality.
Also, noticed that Windows Server 2025 (and 2022) is not on the supported list at https://watchmaker.readthedocs.io/en/stable/scap.html
Watchmaker and salt_call.debug log files are attached.
watchmaker.log
salt_call.debug.log
While attempting to use Watchmaker userdata with a Windows Server 2025 AMI, received an error output in the watchmaker.log stating 'wmic' is not recognized as an internal or external command.
Salt_call.debug.log entry:
'wmic' is not recognized as an internal or external command, operable program or batch file.
This is a deprecated command and the recommendation is to use PowerShell cmdlets such as Get-CimInstance for the same functionality.
Also, noticed that Windows Server 2025 (and 2022) is not on the supported list at https://watchmaker.readthedocs.io/en/stable/scap.html
Watchmaker and salt_call.debug log files are attached.
watchmaker.log
salt_call.debug.log