Get-SqlMonitorLinuxMachine
Published 14 February 2023
Gets the details of all of the Linux machines in SQL Monitor.
Syntax
Get-SqlMonitorLinuxMachine [-BaseMonitor <BaseMonitor[]>] [-Name <string>] [-SuppressDeprecationWarning] [<CommonParameters>] Get-SqlMonitorLinuxMachine [-Group <Group>] [-Name <string>] [-SuppressDeprecationWarning] [<CommonParameters>]
Description
The Get-SqlMonitorLinuxMachine cmdlet gets details of Linux-based SQL Monitor machines from the SQL Monitor Server.
Connect-SqlMonitor must be called before this cmdlet.
Parameters
  
    -BaseMonitor
    <BaseMonitor[]>
  
The Base Monitor to get Machines from. For more information, see https://documentation.red-gate.com/sm/api/powershell-cmdlet-reference/get-sqlmonitorbasemonitor.
| Aliases | None | 
| Required? | false | 
| Position? | named | 
| Default Value | None | 
| Accept Pipeline Input | True (ByValue) | 
| Accept Wildcard Characters | false | 
  
    -Group
    <Group>
  
{{ Fill Group Description }}
| Aliases | None | 
| Required? | false | 
| Position? | named | 
| Default Value | None | 
| Accept Pipeline Input | True (ByValue) | 
| Accept Wildcard Characters | false | 
  
    -Name
    <String>
  
The Machine name to match
| Aliases | None | 
| Required? | false | 
| Position? | named | 
| Default Value | None | 
| Accept Pipeline Input | False | 
| Accept Wildcard Characters | false | 
  
    -SuppressDeprecationWarning
    <SwitchParameter>
  
{{ Fill SuppressDeprecationWarning Description }}
| Aliases | None | 
| Required? | false | 
| Position? | named | 
| Default Value | False | 
| 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.
- 
    [BaseMonitor] For more information, see https://www.red-gate.com/SM13/powershell-custom-types#CustomTypes-BaseMonitor.
    
Return values
The output type is the type of the objects that the cmdlet emits.
- 
    [LinuxMachine] For more information, see https://www.red-gate.com/SM13/powershell-custom-types#CustomTypes-LinuxMachine.
    
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-SqlMonitorLinuxMachine
-------------------------- EXAMPLE 2 --------------------------
Get-SqlMonitorLinuxMachine -BaseMonitor $baseMonitor
-------------------------- EXAMPLE 3 --------------------------
Get-SqlMonitorLinuxMachine -Name "ExampleMachineName"