Skip to content

Error in function Get-PWCMCoMgmtAdminCenterDeviceUploadStatus #103

Description

@NorbertBauer

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions