Skip to content

Get-CWMTicket and Get-CWMCompany  #13

@jayposton

Description

@jayposton

I am experiencing an issue with the Get-CWMTicket command below:

Get-CWMTicket -TicketID 1255787 Invoke-CWMWebRequest : An error has been thrown.
at Invoke-CWMWebRequest, : line 745
at Invoke-CWMGetMaster, : line 412
at Get-CWMTicket, : line 3360
at , : line 1
--> NotFound
--> Ticket 1255787 not found
At line:412 char:19

  • ... $Result = Invoke-CWMWebRequest -Arguments $WebRequestArguments
  •                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CWMWebRequest

When I do Get-CWMTicket -all | Where-Object {$_.Id -eq 1255787} it works but obviously takes forever. Looks like highest ticket I can find with Get-CWMTicket -TicketID is 1109393.

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