Aug 11 2021 07:07 AM - edited Aug 11 2021 07:09 AM
I've found a bug in a WMI function. Specifically the SetStringProperty method on the Win32_RDMSDeploymentSettings class.
When you enter a domain with only numbers in the domain name the method fails.
This works
Invoke-CimMethod -Namespace "root/CIMV2/rdms" -ClassName "Win32_RDMSDeploymentSettings" -MethodName "SetStringProperty" -Arguments @{Key="DeploymentRedirectorServer"; Value="remote.abc.com"}
This fails
Invoke-CimMethod -Namespace "root/CIMV2/rdms" -ClassName "Win32_RDMSDeploymentSettings" -MethodName "SetStringProperty" -Arguments @{Key="DeploymentRedirectorServer"; Value="remote.123.com"}
With the error
Invoke-CimMethod : Invalid method Parameter(s)
Not sure if this is the right place to post this. But I couldn't find any way to officially report a bug to Microsoft
Aug 11 2021 07:28 AM
Aug 11 2021 07:43 AM
Aug 12 2021 06:40 AM