|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Disconnect-NaRshSession
NAME
Disconnect-NaRshSession
SYNOPSIS
Kill a remote shell (rsh) session.
SYNTAX
Disconnect-NaRshSession [-Session] <Int32> [-Controller <NaController>] [<Co
mmonParameters>]
DESCRIPTION
Kill a remote shell (rsh) session.
PARAMETERS
-Session <Int32>
Session ID of Rsh session to be killed. Use Get-NaRshSession to list th
e current session IDs.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-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
NOTES
Category: rsh
API: rsh-kill
-------------- Example 1 --------------
C:\PS>Disconnect-NaRshSession 0
Kill rsh session with ID '0'.
RELATED LINKS
Get-NaRshSession
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|