Remove-DisabledMonitoringObject
Remove-DisabledMonitoringObject
Syntax
Parameter Set: FromMonitoringObjectProviderPath Remove-DisabledMonitoringObject [[-Path] <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
Removes all monitoring objects for which discovery is disabled. For example, if you created an override to disable discovery for a particular database on a database server, calling this cmdlet would cause the removal of this database from Operations Manager.
Parameters
-Path<String[]>
Specifies the paths to the management groups from which to remove the specified disabled monitoring object. To enter multiple values, separate them by using commas.
Aliases | none |
Required? | false |
Position? | 1 |
Default Value | none |
Accept Pipeline Input? | true (ByValue) |
Accept Wildcard Characters? | false |
-Confirm
Prompts you for confirmation before executing the command.
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
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 Remove-DisabledMonitoringObject -detailed". For technical information, type "Get-Help Remove-DisabledMonitoringObject -full".
When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".
Examples
-------------- EXAMPLE 1 --------------
This cmdlet does not take any parameters and returns no values.
C:\PS>Remove-DisabledMonitoringObject
