• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Export-CacheConfiguration

Export-CacheConfiguration cmdlet enables the user to generate the configuration for either the specified cache or of all caches (complete configuration file) to the path specified by the user.

Export-CacheConfiguration [-Name] [-NoLogo] [-Password] [-Path] [-Port] [-Server] [-UserId]

These properties are explained in detail in the Properties section.

Examples

  • This command generates the configuration file for the cache named demoCache at the specified path.
Export-CacheConfiguration -Name demoCache -Server 20.200.20.11 –Path E:\CacheConfigs\config.xml
  • This command generates the complete configuration file for server 20.200.20.11 at the specified path.
Export-CacheConfiguration -Server 20.200.20.11 –Path E:\CacheConfigs\config.xml

Properties

Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-Name <String> Specifies the name of the cache for which the configuration file is to be generated. -
-Path* <String> Specifies the path where the user wants the configuration file to be placed after generation. In case of no path provided the user will be prompted. -
-Server <String> Specifies the NCache server name or ip as per user requirement. -
-Port <Integer> Specifies the server port where NCache server is listening. 8250
-UserId (Enterprise edition only) <String> Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. -
-Password (Enterprise edition only) <String> Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False
Back to top Copyright © 2017 Alachisoft