Try Playground
Show / Hide Table of Contents

Remove-Node - PowerShell Cmdlet

This PowerShell Cmdlet enables the user to remove the particular node from the existing cache on a server or specified node from provided clustered cache.

Note

This feature is only available in NCache Enterprise and Professional.

  • Windows PowerShell
  • Linux CLI
Remove-Node [-CacheName] [-Server] [-GracefulStop] [-NoLogo] [-Port] [-Credentials]

Examples of Remove-Node - PowerShell Cmdlet

  • This PowerShell Cmdlet removes local node from the cache named demoCache.
Remove-Node -CacheName demoCache
  • This PowerShell Cmdlet removes the specified server node, i.e., 20.200.20.11 from the cache named demoCache.
Remove-Node –CacheName demoCache –Server 20.200.20.11
  • This command removes the server node 20.200.20.11 from the cache named demoCache from the local server by gracefully stopping it.
Remove-Node -CacheName demoCache -Server 20.200.20.11 –GracefulStop

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 registered on the server which is then unregistered on the server. -
-Server <String> Specifies the server name where NCache Service is running and a cache with the specified cache name is registered. Local Machine
-GracefulStop <SwitchParameter> Provided by the user if the user wants the server to be stopped gracefully i.e the server won’t be forcefully stopped. False
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False
-Port <Integer> Specifies the server port if the server channel is not using the default port. 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-node [-cachename] [-server] [-gracefulstop] [-nologo] [-port] [-userid] [-password]

Examples of Remove-Node

  • This command removes local node from the cache named demoCache.
remove-node -cachename demoCache
  • This command removes the specified server node, i.e., 20.200.20.11 from the cache named demoCache.
remove-node –cachename demoCache –server 20.200.20.11
  • This command removes the server node 20.200.20.11 from the cache named demoCache from the local server by gracefully stopping it.
remove-node -cachename demoCache -server 20.200.20.11 –gracefulstop

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 registered on the server which is then unregistered on the server. -
-server <String> Specifies the server name where NCache Service is running and a cache with the specified cache name is registered. Local Machine
-gracefulstop <SwitchParameter> Provided by the user if the user wants the server to be stopped gracefully i.e the server won’t be forcefully stopped. False
-nologo <SwitchParameter> Suppresses display of the logo banner. False
-port <Integer> Specifies the server port if the server channel is not using the default port. 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. -
In This Article
  • Examples of Remove-Node - PowerShell Cmdlet
  • Properties
  • Examples of Remove-Node
  • Properties

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top