Home > OM12 Powershell, Operations Manager 2012 RC > OM 12 RC – Powershell Cmdlet Get-SCOMManagementServer

OM 12 RC – Powershell Cmdlet Get-SCOMManagementServer

The Get-SCOMManagementServer cmdlet gets the management servers in the management group. Running with out any options returns a list of the management server in this management group.

PS C:\> Get-SCOMManagementServer

WARNING: column “Id” does not fit into the display and was removed.

HealthState DisplayName Version ActionAccountIdentity

———– ———– ——- —————–

Success OMVNEXTQA03.qa.net 7.0.8443.0 QA\sdk

Success OMVNEXTQA01.qa.net 7.0.8443.0 QA\sdk

To find out what properties and methods are available to use with this cmdlet run

PS C:\> Get-SCOMManagementServer | GM

Lets list out the servers in the management group and what the proxy settings are and what version they are.

PS C:\> Get-SCOMManagementServer | ft name, proxyingenabled, version

Name ProxyingEnabled Version

—- ————— ——-

OMVNEXTQA03.qa.net True 7.0.8443.0

OMVNEXTQA01.qa.net True 7.0.8443.0

 

The Get-SCOMManagementServer cmdlet can be used with other SCOM cmdlets for example Set-SCOMRMSEmulator which will be show in my next post.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: