Quantcast
Channel: SCSM PowerShell Cmdlets
Browsing all 306 articles
Browse latest View live

Commented Unassigned: All Unassigned Service Requests script needed [11252]

Hello, I would like to write a script to pull all the unassigned service requests that were created 12hrs prior to current date. I need to be able to filter on specific support groups. It appears...

View Article


Commented Unassigned: All Unassigned Service Requests script needed [11252]

Hello, I would like to write a script to pull all the unassigned service requests that were created 12hrs prior to current date. I need to be able to filter on specific support groups. It appears...

View Article


New Post: Get-SCSMObject not returning computers

I'm stumped. Hopefully someone can tell me what I'm doing wrong. I'm just trying to get a list of computers from SCSM. I'm querying classes and names that I know exist (I can see them from the SCSM...

View Article

New Post: Using New-SCSMIncident to add support group (nested) e.g. ABC\1LS

How did you create the app from a powershell script? Did you create a UI?u0005293 wrote: With very little powershell knowledge I managed to bodge a little app together that created, resolved and closed...

View Article

New Post: Using New-SCSMIncident to add support group (nested) e.g. ABC\1LS

``` my code below for the UI, I've since found a couple of utilities that would have created this for me Function MyMenu { [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")...

View Article


New Post: Get-SCSMObject not returning computers

Maybe you're looking at the wrong class. Have you tried Microsoft.Windows.Computer$ instead? Try to go backwards instead like this: $Class = Get-SCSMClass -Name system.entity #most parent class $obj =...

View Article

New Post: Service requests creation

Hey everyone. I'm implementing an Icident Request from Service Request converter by Thomas Ellermann http://gallery.technet.microsoft.com/Create-Incident-from-f19aaea0#content and I faced a problem:...

View Article

Closed Unassigned: All Unassigned Service Requests script needed [11252]

Hello, I would like to write a script to pull all the unassigned service requests that were created 12hrs prior to current date. I need to be able to filter on specific support groups. It appears...

View Article


Commented Issue: Get-SMProperty PowerShell 3 Incompatibility [10983]

When trying to run get-smproperty using Powershell 3, One will receive an error similar to the following:```add-member : Cannot add a member with the name "Class" because a member with that name...

View Article


Edited Issue: Get-SMProperty PowerShell 3 Incompatibility [10983]

When trying to run get-smproperty using Powershell 3, One will receive an error similar to the following:```add-member : Cannot add a member with the name "Class" because a member with that name...

View Article

Edited Issue: -UserComment switch for Set-SCSMIncident is not documented [10770]

-UserComment switch for Set-SCSMIncident (original work item 7118) is not document in usage syntax. Please add it to usage syntax so it is easily discoverable

View Article

Commented Issue: System.Exception: The specified snap-in 'SMlets' failed to...

System.Exception: The specified snap-in 'SMlets' failed to load with below exception System.Management.Automation.PSArgumentException: No snap-ins have been registered for Windows PowerShell version...

View Article

Closed Issue: System.Exception: The specified snap-in 'SMlets' failed to load...

System.Exception: The specified snap-in 'SMlets' failed to load with below exception System.Management.Automation.PSArgumentException: No snap-ins have been registered for Windows PowerShell version...

View Article


Commented Issue: Cannot create Service Request using Request Offering that...

I have a generic Service Request Offering with no questions that is used for one-off requests. When I try to script the creation of the Service Request, I get an error "Object reference not set to the...

View Article

Edited Issue: Issues invoking SMlets from a remote machine [10188]

I have SCSM installed in a lab, on a member server. I'm on a laptop that sits outside the domain. I have SMlets installed there too, as well as the authoring toolkit and the SCSM console. When I try to...

View Article


Edited Feature: The Credential parameter needs to accept string input as well...

Today the Credential parameter is implemented inconsistently in these cmdlets. In core PowerShell, you can pass in a string and it will automatically convert to PSCredential using a type converter,...

View Article

Edited Issue: Incident Priority is not being set in New-SCSMIncident [8943]

The .Priority field is not being set dependent on the urgency and impact.

View Article


Commented Issue: Unable to import module after upgrading to SCSM 2012 SP1...

After upgrading to SCSM 2012 SP1, the following exception is thrown when attempting to import the SMlets module. I suspect they will need a recompile against the the SP1 bits.Command execution stopped...

View Article

Closed Issue: Unable to import module after upgrading to SCSM 2012 SP1 [10764]

After upgrading to SCSM 2012 SP1, the following exception is thrown when attempting to import the SMlets module. I suspect they will need a recompile against the the SP1 bits.Command execution stopped...

View Article

Edited Issue: Add filtering capacity to Get-SCSMRelationshipObject [7978]

it should be possible to restrict the results of Get-SCSMRelationshipObject once the type/source/target is declared

View Article
Browsing all 306 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>