I always get an error from the command in line 2972:
Invoke-CimMethod : The WS-Management service cannot process the request because it contains an invalid character.
WS-Management cannot convert the string to a number. String: true. Ensure that the string represents the correct
datatype.
At D:\Tools\DocumentConfigMgrCB-master\DocumentCMCB.ps1:2972 char:34
- ... onMapping = Invoke-CimMethod -Namespace "ROOT\SMS\site_$SiteCode" -Ci ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ProtocolError: (ROOT\SMS\site_xxx:SMS_CoMgmtConfigs:String) [Invoke-CimMethod], CimExcep
tion
- FullyQualifiedErrorId : HRESULT 0x80338041,Microsoft.Management.Infrastructure.CimCmdlets.InvokeCimMethodCommand
- PSComputerName : SiteServer.domain.yyy
I always get an error from the command in line 2972:
Invoke-CimMethod : The WS-Management service cannot process the request because it contains an invalid character.
WS-Management cannot convert the string to a number. String: true. Ensure that the string represents the correct
datatype.
At D:\Tools\DocumentConfigMgrCB-master\DocumentCMCB.ps1:2972 char:34
tion