Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcDiagnosisSubsystem


NAME
Get-NcDiagnosisSubsystem

SYNOPSIS
Get the Health Monitor Subsystem Status.

SYNTAX
Get-NcDiagnosisSubsystem [[-Name] <String[]>] [-Attributes <DiagnosisSubsyst
emConfigInfo>] [-Controller <NcController[]>] [<CommonParameters>]

Get-NcDiagnosisSubsystem -Template [-Controller <NcController[]>] [<CommonPa
rameters>]

Get-NcDiagnosisSubsystem -Query <DiagnosisSubsystemConfigInfo> [-Attributes
<DiagnosisSubsystemConfigInfo>] [-Controller <NcController[]>] [<CommonParam
eters>]


DESCRIPTION
Get the Health Monitor Subsystem Status.


PARAMETERS
-Name <String[]>
One or more subsystems. Data ONTAP wildcards are permitted.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Attributes <DiagnosisSubsystemConfigInfo>
For improved scalability in large clusters, provide a DiagnosisSubsystem
ConfigInfo object with various fields set to indicate which fields to re
turn on all objects. Undesired fields should remain set to null. Use "
Get-NcDiagnosisSubsystem -Template" to get the initially empty Diagnosis
SubsystemConfigInfo object. If not specified, all data is returned for
each object.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Template
Specify to get an empty DiagnosisSubsystemConfigInfo object for use with
advanced queries involving the Query attribute.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Query <DiagnosisSubsystemConfigInfo>
For advanced queries, provide a DiagnosisSubsystemConfigInfo object with
various fields set to indicate which records to retrieve. Other fields
should remain set to null. Use "Get-NcDiagnosisSubsystem -Template" to
get the initially empty DiagnosisSubsystemConfigInfo object.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
DataONTAP.C.Types.Diagnosis.DiagnosisSubsystemConfigInfo


NOTES


Category: diagnosis
API: diagnosis-subscriptions-get-iter
Family: cluster

-------------- Example 1 --------------

C:\PS>Get-NcDiagnosisSubsystem


Get the status of all of the diagnosis subsystems.


Subsystem Health InitState Out
standingAlertCount SuppressedAlertCount
--------- ------ --------- ---
------------------ --------------------
cifs_ndo ok initialized
0 0
sas_connect ok initialized
0 0
switch_health ok initialized
0 0


-------------- Example 2 --------------

C:\PS>$q = Get-NcDiagnosisSubsystem -Template
$q.Health = "ok"
Get-NcDiagnosisSubsystem -Query $q


Get all of the healthy diagnosis subsystems.


Subsystem Health InitState Out
standingAlertCount SuppressedAlertCount
--------- ------ --------- ---
------------------ --------------------
cifs_ndo ok initialized
0 0
sas_connect ok initialized
0 0
switch_health ok initialized
0 0



RELATED LINKS







 Data ONTAP® PowerShell Toolkit