You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before you post
Make sure to search through the issue list to check if others have reported the same bug already. If you find an existing issue, make your voice heard there. Your case may provide valueable extra clues towards a solution and will increase its priority.
Yes i searched for wmic
Describe the bug
A clear and concise description of what the bug is.
Expected behavior
Replace the cmdlets with Get-CimInstance to avoid errors.
Log
Please add any available log output. You may copy it from the console window, get it from the Windows Event Viewer, or the log files on disk, which can typically be found in a sub folder of %programdata%\win-acme.
wmic : The term 'wmic' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
Platform:
OS: [Windows 11, Server 2025 - All Languages]
Additional context
Add any other context about the problem here, for example possible network issues (firewalls, proxies, NAT) that might play a role.
Before you post
Make sure to search through the issue list to check if others have reported the same bug already. If you find an existing issue, make your voice heard there. Your case may provide valueable extra clues towards a solution and will increase its priority.
Yes i searched for wmic
Describe the bug
A clear and concise description of what the bug is.
wmic.exe is deprecated
The windows cmdlet "wmic.exe" is not supported under Server 2025 and Windows 11, because wmic is deprecated. Look at:
https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242
To Reproduce
The included PowerShell scripts, are using the cmdlet.
ImportRDListener.ps1
ImportRDS.ps1
ImportRDSFull.ps1
Expected behavior
Replace the cmdlets with Get-CimInstance to avoid errors.
Log
Please add any available log output. You may copy it from the console window, get it from the Windows Event Viewer, or the log files on disk, which can typically be found in a sub folder of
%programdata%\win-acme
.wmic : The term 'wmic' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
Platform:
Additional context
Add any other context about the problem here, for example possible network issues (firewalls, proxies, NAT) that might play a role.
Example in ImportRDListener.ps1
Replace Line
with
Tested :)
The text was updated successfully, but these errors were encountered: