in

myITforum.com

Browse by Tags

  • OM 2007 Cmdlets using the -criteria option

    Some information that was obtained from Brian Wren's MMS Cmdshell presentation. http://blogs.technet.com/brianwren/archive/2008/03/11/mms-command-shell-presentation.aspx When using cmdlets that fetch data in operations Manager 2007 like get-alert, get-event, get-override and many others, use the...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 06-24-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • Operations Manager cmdlet: Get-Alert examples

    A few more examples of the Get-Alert cmdlet for Operations Manager 2007. These were inspired from the Virtual User group meeting. Something Marco Shaw showed in his Operations Manager powershell demo. To get a count of all Informational alerts >(get-alert -criteria 'Severity = ''0'''...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 07-02-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • Operations Manager cmdlet: Get-Alert mini reports

    Pete Zerger has a good example of a mini-report http://www.systemcenterforum.org/powershell-tip-operations-manager-2007-top-alerts-report-part-1/ . From his report I got the idea for these other mini-reports To get a report of Top closed alerts. >get-alert -criteria `ResolutionState = "255"'...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 07-02-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • Operations Manager 2007: Get-Alert Commandlet

    The get-alert commandlet has several parameters available for filtering its output. The examples below will only use the –criteria parameter. I’m using the measure-object commandlet to show some output, it’s not practical to display 4 or 5 pages of alerts per example. The alerts can just as easily be...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 03-15-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • SCOM 2007 Powershell Get-Agent Commandlet

    Operations Manager 2007 Powershell commandlets are very very powerful. I've only scraped the surface of what they can do with these very simple examples. 1. Get a list of agent managed machine names. >get-agent | format-list *displayname 2. Get a list of agent managed machine names and thier ip...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 02-13-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • Operations Manager 2007 Cmdlet Get-Agentpendingaction mini-reports

    To get a list of server names and what they are pending about i.e. AgentPendingActionType (this can be long depending on how many agent pending actions are in your environement) get-agentpendingaction | sort-object AgentName | Select-object AgentName, AgentPendingActionType | format-table -auto AgentName...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 07-11-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • Operations Manager 2007 cmdlet reject-agentpendingaction

    The reject-agentpendingaction cmdlet rejects the specified agent pending action. Use the get-agentpendingaction cmdlet and pipe its results to the reject-agentpendingaction cmdlet to reject the specified agent pending action. The example in the reject-agentpendingaction help shows how to reject all agent...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 07-13-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • Operations Manager 2007 cmdlet approve-agentpendingaction

    The approve-agentpendingaction cmdlet approves the specified agent pending action. The approve-agentpendingaction cmdlet is works much like the reject-agentpendingaction in that the cmdlet is expecting to have data piped from the get-agentpendingaction cmdlet. Again the example in help shows how to do...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 07-13-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • OpsMgr 2007 - Get-Alert Examples

    From a request on the SystemCenterCommunity a user wanted a SQL query to disply the following information: Managed computer, Alert description and Alert severity. Well its much easier to just open up Powershell and get this information, and slap it into a csv fie. get-alert | select-object NetbiosComputerName...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 10-27-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
  • OM07 Powershell: Close all open alerts generated by a rule

    By request I came up with the following PowerShell one liner to close all open alerts that were generated by a Rule. Reason being that if one closes an alert generated by a monitor, that alert will not be fired off again until the computers health is recalculated. To find alerts that are generated by...
    Posted to Scott Moss at myITforum.com (Weblog) by smoss on 12-12-2008
    Filed under: SCOM 2007, Operations Manager 2007, PowerShell, SCOM Powershell, OM Powershell cmdlets
Page 1 of 2 (11 items) 1 2 Next >
Copyright - www.myITforum.com, Inc. - 2007 All Rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems