|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Disable-NaCifs
NAME
Disable-NaCifs
SYNOPSIS
Stops the CIFS service for all users or a particular workstation, if specifi
ed.
SYNTAX
Disable-NaCifs [[-Workstation] <String>] [-Controller <NaController>] [-Warn
ingAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters
>]
DESCRIPTION
Stops the CIFS service for all users or a particular workstation, if specifi
ed. Appropriate warning should be given to connected clients before calling
this API, as it will immediately terminate those sessions regardless of thei
r current state. See the Get-NaCifsSession API for the list of clients that
are currently connected.
PARAMETERS
-Workstation <String>
The name or IP address of a workstation that will be disconnected from t
he CIFS service. Note that the CIFS service does not stop if this value
is specified, it simply disconnects related sessions.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
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: cifs
API: cifs-stop
-------------- Example 1 --------------
C:\PS>Connect-NaController dunn -Credential (Get-Credential)
Disable-NaCifs
Stop the CIFS service. This is best accomplished while connected via HTTP r
ather than RPC.
RELATED LINKS
Enable-NaCifs
Test-NaCifs
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|