Search
-
Re: Use -filter with Get-SCSMRelationshipObject
I've only used said parameter in a limited capacity, but I think/hope this is what you're after: #classes $irClass = Get-SCSMClass -Name "System.WorkItem.Incident$" $assignedToUserRelClass = Get-SCSMRelationshipClass -Name "System.WorkItemAssignedToUser$" #an incident $incident = Get-SCSMObject -Class $irClass -Filter… -
Error AC Get-SCRelationshipClass
I use PS script and I have CMDlet $affectedUserRelClass = Get-SCSMRelationshipClass -Name System.WorkItemAffectedUser I have error An error was written to the Error stream! The term 'Get-SCRelationshipClass' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the… -
Difficulty using powershell to get a list of HW Assets
-
How to get everything in All Hardware
-
Getting APPCRASH on Microsoft.EnterpriseManagement ServiceManager.UI.Console.exe
We have been getting APP Crashes on the Service Manager Console. has anyone else encountered this issue. Interesting thing is we have another user that is doing a remote desktop to the server that Service Manager application is on and is forced to login and it works fine for her. But when I do a remote desktop to this… -
PowerShell - Get parent levels for Enumeration
I put together this recursive function today to help me decode and rename our lists. Maybe it can help someone else. The problem I have is that our lists were mostly populated in console, so they have the default Enum.xxxxxxx names, but no indication of where it is used. Using this function will show each enumeration above… -
JS Code to get computer Name from the browser.
-
Getting "Browse By Category" in Alternative view
-
Error when executing Get-SCSMClass in SMA Powershell script
Hi, Every now and then I get a weird error when executing a script in SMA that otherwise runs without issues. I'm suspecting an intermittent concurrency issue, but I have no idea how to circumvent it. My script then fails on the instruction $ActivityClass = Get-SCSMClass System.Workitem$ -ComputerName $ComputerName The… -
How to get assets to show up in portal