Remove-MemoryDump
This enables the user to delete the specified memory dump file from the specified server.
Remove-MemoryDump -Server [-FileName] [-Port] [-Credentials] [-NoLogo]
Examples
- This command deletes the dump file created on server 20.200.20.11 with specified name.
Remove-MemoryDump -Server 20.200.20.11 -FileName demoCacheDumpFile.dmp
- This command deletes the dump file on server 20.200.20.11 with specified name without prompt to cancel it.
Remove-MemoryDump -Server 20.200.20.11 -FileName dumpFile.dmp -Force
Properties
Note
The parameters with an asterisk (*) on their names are the required parameters and the rest are optional.
Parameters |
Data Types |
Description |
Default Value |
-Server |
<String> |
Specifies the NCache server name/IP where NCache Service is running and the dump was created. |
- |
-FileName |
<String> |
Specifies the name of memory dump file that is to be deleted. |
- |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. |
False |
-Port |
<Integer> |
Specifies the server port where NCache server is listening. |
8250 |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user who has appropriate permissions at the node. |
- |
Remove-MemoryDump -server [-filename] [-port] [-userid] [-password] [-nologo]
Examples
- This command deletes the dump file created on server 20.200.20.11 with specified name.
remove-memorydump -server 20.200.20.11 -filename demoCache_19284.dmp
- This command deletes the dump file on server 20.200.20.11 with specified name without prompt to cancel it.
remove-memorydump -server 20.200.20.11 -filename demoCache_19284.dmp -force
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters |
Data Types |
Description |
Default Value |
-server |
<String> |
Specifies the NCache server name/IP where NCache Service is running and the dump was created. |
- |
-filename |
<String> |
Specifies the name of memory dump file that is to be deleted. |
- |
-nologo |
<SwitchParameter> |
Suppresses display of the logo banner. |
False |
-port |
<Integer> |
Specifies the server port where NCache server is listening. |
8250 |
-userid |
<String> |
Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory user id. |
- |
-password |
<String> |
Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. |
- |