Get-RedgateMonitorDisk
Published 18 April 2024
Gets the details of all of the disks for the given machine.
Syntax
Get-RedgateMonitorDisk [[-Machine] <Machine>] [[-Name] <string>] [<CommonParameters>]
Description
The Get-RedgateMonitorDisk cmdlet gets details of Disks from the Redgate Monitor Server.
Without parameters, this cmdlet will get all Disks from the Redgate Monitor Server.
Connect-RedgateMonitor must be called before this cmdlet.
Parameters
-Machine
<Machine>
The Machine to limit results to.
Aliases | None |
Required? | false |
Position? | 1 |
Default Value | None |
Accept Pipeline Input | True (ByValue) |
Accept Wildcard Characters | false |
-Name
<String>
The Disk name to match.
Aliases | None |
Required? | false |
Position? | 2 |
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.
-
[Machine] For more information, see https://www.red-gate.com/monitor14/powershell-custom-types#CustomTypes-Machine.
Return values
The output type is the type of the objects that the cmdlet emits.
-
[Disk] For more information, see https://www.red-gate.com/monitor14/powershell-custom-types#CustomTypes-Disk.
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-RedgateMonitorDisk
-------------------------- EXAMPLE 2 --------------------------
Get-RedgateMonitorDisk -Machine $machine
-------------------------- EXAMPLE 3 --------------------------
Get-RedgateMonitorDisk -Name "ExampleDiskName"
-------------------------- EXAMPLE 4 --------------------------
Get-RedgateMonitorDisk -Machine $machine -Name "ExampleDiskName"