Remove-NCAzServer
The Remove-NCAzServer PowerShell cmdlet removes one or more specified virtual machines (servers) from an existing NCache Azure environment.
It ensures safe deletion of the selected VMs and their associated resources (e.g., NICs, disks), while preserving the rest of the environment.
Remove-NCAzServer -EnvName -Servers
Examples
The following command removes two VMs 10.0.0.4 and 10.0.0.5 from the environment named Production:
Remove-NCAzServer -EnvName Production -Servers "10.0.0.4, 10.0.0.5"
Properties
Note
Parameters with an asterisk (*) are required.
| Parameter | Data Type | Description |
|---|---|---|
-EnvName* |
<String> |
Specifies the name of the environment that contains the virtual machines. |
-Servers* |
<String> |
A comma-separated list of virtual machines identified using their private IP's to be deleted. |