Pete Zerger has just published an article to show how to use the Get-SCOMClass and Get-SCOMClassInstance cmdlet.
Get-SCOMClass - Syntax given in Technet
Parameter Set: __AllParameterSets
Get-SCOMClass [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
Parameter Set: FromClassDisplayName
Get-SCOMClass [-DisplayName] <String[]> [ <CommonParameters>]
Parameter Set: FromClassGuids
Get-SCOMClass [-Id] <Guid[]> [ <CommonParameters>]
Parameter Set: FromClassName
Get-SCOMClass [-Name] <String[]> [ <CommonParameters>]
Parameter Set: FromEMO
Get-SCOMClass [-Instance] <EnterpriseManagementObject[]> [ <CommonParameters>]
Parameter Set: FromManagementPack
Get-SCOMClass [-ManagementPack] <ManagementPack[]> [ <CommonParameters>]
Get-SCOMClass [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
Parameter Set: FromClassDisplayName
Get-SCOMClass [-DisplayName] <String[]> [ <CommonParameters>]
Parameter Set: FromClassGuids
Get-SCOMClass [-Id] <Guid[]> [ <CommonParameters>]
Parameter Set: FromClassName
Get-SCOMClass [-Name] <String[]> [ <CommonParameters>]
Parameter Set: FromEMO
Get-SCOMClass [-Instance] <EnterpriseManagementObject[]> [ <CommonParameters>]
Parameter Set: FromManagementPack
Get-SCOMClass [-ManagementPack] <ManagementPack[]> [ <CommonParameters>]
Get-SCOMClass - Syntax given in Technet
Get-SCOMClassInstance [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
Parameter Set: FromEMODisplayNameParameterSetName
Get-SCOMClassInstance [-DisplayName] <String[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
Parameter Set: FromEMOIdParameterSetName
Get-SCOMClassInstance -Id <Guid[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
Parameter Set: FromEMONameParameterSetName
Get-SCOMClassInstance -Name <String[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
Parameter Set: FromGroup
Get-SCOMClassInstance [-Group] <EnterpriseManagementObject[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
Parameter Set: FromManagementPackClass
Get-SCOMClassInstance [-Class] <ManagementPackClass[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]
This posting is provided "AS IS" with no warranties.
No comments:
Post a Comment