Grab our RSS feeds Follow us on Twitter Join our Facebook Group Connect with us on LinkedIn
myITforum.com, Powered by You.
you are not logged in

Articles

Newslinks

Links

Downloads

Site Services

Community Forums

Discussion Lists

Article Search

Newsletter

Web Blogs

FAQs

Live Support

myITforum TV

Take a Poll

Monthly Drawing

myITforum Network

User Group Directory

Our Partners

About Us

Register

Login

BRONZE PARTNER:

BRONZE PARTNER:



Industry News:




  Home : Articles : Windows PowerShell print | email | | Forums |   print | email | | Blogs |   print | email | | Wiki |   print | email | | FAQs |   print | email | Article Search  
SCOM 2007 Powershell Get-Agent Commandlet


Bookmark and Share

By: Scott Moss
Posted On: 2/15/2008

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 address:

>get-agent | format-list -property, displayname, IPAddress

DisplayName : SERVERNAME.mycompany.Net
IPAddress : 01.01.01.01, 02.02.02.02

  myITforum.com ©2010 | Legal | Privacy