Remove-MemoryDump
This PowerShell Cmdlet enables the user to delete the specified memory dump file from the specified server.
Remove-MemoryDump -Server [-FileName] [-Port] [-Credentials] [-NoLogo]
Examples of Remove-MemoryDump
- This command deletes the dump file created on server 20.200.20.11 with specified name.
Remove-MemoryDump -Server 20.200.20.11 -FileName dumpFile.dmp
- This command deletes the dump file on server 20.200.20.11 with specified name without prompting the user to cancel it.
Remove-MemoryDump -Server 20.200.20.11 -FileName dumpFile.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 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 Service is listening. |
8250 |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the node. |
- |
Remove-MemoryDump -server [-filename] [-port] [-userid] [-password] [-nologo]
Examples of Remove-MemoryDump
- This command deletes the dump file created on server 20.200.20.11 with specified name.
remove-memorydump -server 20.200.20.11 -filename dumpFile.dmp
- This command deletes the dump file on server 20.200.20.11 with specified name without prompting the user to cancel it.
remove-memorydump -server 20.200.20.11 -filename dumpFile.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 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 Service 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. |
- |