Table of Contents

Remove-PortableType

Note

This feature is only available in NCache Enterprise edition.

Remove-Portabletype cmdlet enables the user to remove already defined shared data types.

Remove-PortableType [-CacheName] [-NoLogo] [-Password] [-Port] [-Server] [-UserId]

These properties are explained in detail in the Properties section.

Examples

  • This command removes defined shared types for a cache name demoCache using default port 8250.
Remove-PortableType -CacheName demoCache
  • This command removes defined shared types for a cache name demoCache existing on the server 20.200.20.11.
Remove-PortableType -CacheName demoCache –server 20.200.21.11
  • This command removes shared types for a cache named demoCache existing on the server node 20.200.21.11, the port where NCache server is listening is 8251. The display of the logo banner is suppressed.
Remove-PortableType demoCache –Server 20.200.21.11 –Port 8251 –NoLogo

Properties

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

Parameters Data Types Description Default Value
-CacheName* <String> Specifies the name of the cache for which data sharing is to be disabled. -
-Server <String> Specifies the NCache server name where the NCache service is running. -
-Port <Integer> Specifies the server port where NCache server is listening. 8250
-UserId <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 <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