locked
Pop Up Incident RRS feed

  • Question

  • Dears,

     

    Is there a way to open a new Incident Form from Command Line?

     

    Regards

    Thursday, June 23, 2011 8:23 PM

All replies

  • If you want to create an incident from "Command line, i would use powershell and smlets and new-scsmincident

    http://smlets.codeplex.com/

     

    see below

    =======

     

    [PS] C:\>help New-SCSMIncident -Examples

    NAME
        New-SCSMIncident

    SYNOPSIS
        Used to create new incidents based in given parameters.
                  Default values:
                  ServerName = "localhost"
                  Status = "Active"

        --------------  Example 1 --------------

        C:\PS>New-SCSMIncident -Title "Network issue" -Description "User cannot reach his home folder" -Impact Low -Urgency
         High -Classification "Networking" -Source Email


        Registers a new incident with given property values.

     


        --------------  Example 2 --------------

        C:\PS>New-SCSMIncident -Title "Network issue" -Description "User cannot reach his home folder" -Impact Low -Urgency
         High -Classification "Networking" -Source Email -AffectedUser "domain\user" -Status "Closed"

     

     

    Hope this helps

     

    Friday, June 24, 2011 6:28 AM