Get-RedgateMonitorMonitoredObjectStatus
Published 18 April 2024
Gets the monitoring status for a specific monitored object.
Syntax
Get-RedgateMonitorMonitoredObjectStatus [-MonitoredObject] <MonitoredObject> [<CommonParameters>]
Description
The Get-RedgateMonitorMonitoredObjectStatus cmdlet gets the monitoring status for a specific monitored object from a Redgate Monitor Server.
Connect-RedgateMonitor must be called before this cmdlet.
Parameters
-MonitoredObject
<MonitoredObject>
The object who's status is to be returned. For more information, see https://www.red-gate.com/monitor14/powershell-custom-types#CustomTypes-MonitoredObject.
Aliases | None |
Required? | true |
Position? | 1 |
Default Value | None |
Accept Pipeline Input | False |
Accept Wildcard Characters | false |
-ProgressAction
<ActionPreference>
{{ Fill ProgressAction Description }}
Aliases | None |
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 http://technet.microsoft.com/en-us/library/hh847884.aspx.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
-
None.
You cannot pipe input to this cmdlet.
Return values
The output type is the type of the objects that the cmdlet emits.
-
[MonitoredObjectStatus]
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-RedgateMonitorMonitoredObjectStatus -MonitoredObject $cluster