|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaRshSession
NAME
Get-NaRshSession
SYNOPSIS
List current remote shell (rsh) sessions.
SYNTAX
Get-NaRshSession [-Controller <NaController>] [<CommonParameters>]
DESCRIPTION
List current remote shell (rsh) sessions. Sessions may be connected via RSH
, SSH1 or SSH2.
PARAMETERS
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
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.Types.Rsh.RshSessionInfo
NOTES
Category: rsh
API: rsh-get-stats
-------------- Example 1 --------------
C:\PS>Get-NaRshSession
List active rsh sessions.
SessionId Vfiler Address CommandTimeTS Command
--------- ------ ------- ------------- -------
0 vfiler0 10.61.167.60 00:01:59.3930000 sysstat
1 vfiler0 10.61.167.60 00:01:56.9490000 sysstat
RELATED LINKS
Get-NaRshStatistics
Disconnect-NaRshSession
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|