Send-MemoryDump - PowerShell Cmdlet
This PowerShell Cmdlet enables the user to send a memory dump to the FTP server. You will need to specify the path of the memory dump where it is currently stored and the URL of the FTP server to which you will send the dump. The purpose of this cmdlet is to send a memory dump file from a server where NCache is installed to the FTP server.
Note
This feature is only available in NCache Enterprise.
Send-MemoryDump -Path -FtpServerUrl [-FtpServerCredentials] [-WaitForCompletion] [-Port] [-Server] [-Credentials] [-NoDeploy]
Examples of Send-MemoryDump - PowerShell Cmdlet
- This command sends the memory dump from a local server to the FTP server.
Send-MemoryDump -Path "C:\MemoryDump.DMP" -FtpServerUrl "ftp://20.200.20.11/home/files/" -FtpServerCredentials ftpuser
- This command sends the memory dump from the 20.200.20.12 server to the FTP server and waits for completion before exiting.
Send-MemoryDump -Path "C:\MemoryDump.DMP" -FtpServerUrl "ftp://20.200.20.11/home/files/" -FtpServerCredentials ftpuser -Server 20.200.20.12 -WaitForCompletion
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Path* |
<string> |
Specifies the path of the memory dump to be sent. | - |
-FtpServerUrl* |
<string> |
Specifies the URL of the FTP server to which the memory dump will be sent. | - |
-FtpServerCredentials |
<pscredential> |
Specifies the FTP server credentials used for authorization. | - |
-WaitForCompletion |
<SwitchParameter> |
Specifies if the command should not exit until the complete memory dump is sent. | False |
-Server |
<string> |
Specifies a server name where the NCache service is running. The default value is local machine. | - |
-Port |
<int> |
Specifies the port on which NCache service is listening. | 8250 |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. The credentials should belong to a user with appropriate permissions at the node. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |