Remove-NCAzCache
The Remove-NCAzCache PowerShell cmdlet removes a specified cache from all servers in the environment and deletes the cache information from the environment configuration.
Remove-NCAzCache -EnvName -Name [-NoLogo] [-Port] [-Credentials]
Examples
This commnad removes the cache named demoCache from all the servers from the Production environment:
Remove-NCAzCache -EnvName Production -Name demoCache
Properties
Note
Parameters marked with an asterisk (*) are required. All others are optional.
| Parameter | Data Type | Description | Default Value |
|---|---|---|---|
-EnvName* |
<String> |
Specifies the name of the environment from which the cache will be removed. | - |
-Name* |
<String> |
Specifies the name of the cache to be removed. | - |
-Port |
<Int32> |
The port to be used for the cache removal process. | - |
-Credentials |
<PSCredential> |
Specifies the credentials to use for the removal operation. | - |
-NoLogo |
<SwitchParameter> |
Indicates whether to remove the logo details during cache removal. | - |