BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
 |
 |
 |
| SCOM 2007 Powershell Get-Agent Commandlet |
 |
|
|
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
|
 |
 |
 |
|
|