|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NcVserver
NAME
Remove-NcVserver
SYNOPSIS
Destroys a vserver and its objects.
SYNTAX
Remove-NcVserver [-Name] <String> [-Controller <NcController[]>] [<CommonPar
ameters>]
DESCRIPTION
Destroys a vserver and its objects. All volumes and mirrors belonging to th
e vserver must be deleted using other cmdlets before destroying the vserver.
This cmdlet removes all other objects of this vserver including its networ
k interfaces, routes, configurations, admin login accounts and roles.
PARAMETERS
-Name <String>
Name of the vserver to destroy.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
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
<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: vserver
API: vserver-destroy
Family: cluster
-------------- Example 1 --------------
C:\PS>Stop-NcVserver vserver4
Set-NcVol -Offline vserver4vol0 -vs vserver4
Remove-NcVol vserver4vol0 -vs vserver4
Remove-NcVserver vserver4
Destroy vserver 'vserver4'.
RELATED LINKS
Get-NcVserver
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|