Hi Together,
currently i'm working on a Script with which i can import Tickets from another Ticketsystem via CSV.
I managed to do that because its quite easy with the new-scsmincident cmdlet.
But now i should have the ID of the newly created incident to add the assigned to user to the incident.
Acutaly i try it with:
$id = (Get-SCSMIncident -Title "$ticketidmx + $title").id
Because i save the ticket-id of the other Ticketsystem and the title of the incident in the new incident in SCSM.
But i think thatss not "save" enough.
So is there any possibilty to get the ID of the newly created incident direclty after creating it with new-scsmincident?
thank you
brgds
currently i'm working on a Script with which i can import Tickets from another Ticketsystem via CSV.
I managed to do that because its quite easy with the new-scsmincident cmdlet.
But now i should have the ID of the newly created incident to add the assigned to user to the incident.
Acutaly i try it with:
$id = (Get-SCSMIncident -Title "$ticketidmx + $title").id
Because i save the ticket-id of the other Ticketsystem and the title of the incident in the new incident in SCSM.
But i think thatss not "save" enough.
So is there any possibilty to get the ID of the newly created incident direclty after creating it with new-scsmincident?
thank you
brgds