Get-Override
Get-Override
Gets management pack overrides.
Syntax
Parameter Set: FromManagementPack
Get-Override [-ManagementPack] <ManagementPack> [ <CommonParameters>]
Parameter Set: FromCriteria
Get-Override [-Criteria] <String> [[-Path] <String[]> ] [ <CommonParameters>]
Parameter Set: FromTask
Get-Override [-Task] <MonitoringTask> [ <CommonParameters>]
Detailed Description
Gets all management pack overrides for the management group specified by either the Path parameter or the Management Pack parameter.
Parameters
-Criteria<String>
Specifies criteria using syntax designed for use with System Center Operations Manager. Only rules that meet the specified criteria will be retrieved. To learn about the syntax, consult the SDK topic, "Criteria Expression Syntax", in the System Center Operations Manager 2007 SDK. You can find the SDK by search Microsoft Developer Network (MSDN) online at https://msdn.microsoft.com.
Aliases |
none |
Required? |
true |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-ManagementPack<ManagementPack>
Specifies the management pack for which to retrieve overrides.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-Path<String[]>
Specifies the path or set of paths of monitoring objects for which to retrieve overrides. To enter multiple values, separate them by using commas.
Aliases |
none |
Required? |
false |
Position? |
4 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-Task<MonitoringTask>
Specifies the task for which to retrieve overrides. You can use Get-Task to get an object to provide as the value of this parameter.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Notes
- For more information, type "Get-Help Get-Override -detailed". For technical information, type "Get-Help Get-Override -full".
When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".
Examples
-------------- EXAMPLE 1 --------------
This command gets all tasks associated with the current position within the monitoring provider. It pipes those tasks to Get-Overide to display information about all of the associated overrides.
C:\PS>get-task | get-override
Related topics
Get-ResultantMonitorOverride