With very little powershell knowledge I managed to bodge a little app together that created, resolved and closed incidents for my service desk staff.
They basically put an end user name in and click on a button that refers to the problem for stuff service desk people do on the fly, e.g. username click changed password.
Anyway....
Its been quite popular and a few other teams where I work want to use it too, I have an issue though that their support groups are nested
e.g.
dept1\
dept1\1LS
dept1\2LS
I had a unique name for my dept so this wasn't an issue, New-SCSMIncident .......
with
–SupportGroup "ICT"
was fine, but it won't accept
–SupportGroup "dept1\2LS"
it would accept "2LS" but this could be any 1 of 4 departments.
Any ideas? could I somehow use the full enumeration string?
thanks
Paul Wilson