Try Playground
Show / Hide Table of Contents

Invoke-RefresherDataset - PowerShell Cmdlet

This PowerShell Cmdlet enables the user to refresh a pre-configured dataset at runtime. The dataset is refreshed based on the RefreshPreference. However, if all the nodes are busy refreshing other datasets, then the new datasets are refreshed in the refresh interval when any node is free.

Note

This feature is only available in NCache Enterprise.

  • Windows PowerShell
  • Linux CLI
Invoke-RefresherDataset [-CacheName] [-Port] [-Server] [-Dataset] [-RefreshPreference] [-Credentials]

Examples of Invoke-RefresherDataset - PowerShell Cmdlet

  • The following PowerShell Cmdlet refreshes the dataset product immediately on demoCache on server 20.200.20.11.
Invoke-RefresherDataset -CacheName demoCache -Server 20.200.20.11 -Dataset product -RefreshPreference RefreshNow
  • This PowerShell Cmdlet refreshes the dataset product at the configured time of the dataset on demoCache within the next 24 hours. If the dataset specified will be a load only dataset, its preference will be treated as same as RefreshNow
Invoke-RefresherDataset -CacheName demoCache -Server 20.200.20.11 -Dataset product -RefreshPreference RefreshOnNextTimeOfDay

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. -
-Port <Integer> Specifies the server port where NCache Service is listening. 8250
-Server <String> Specifies the NCache server name where the NCache Service is running. Local Machine
-Dataset* <String> Specifies the name of the pre-configured dataset registered on the cache. -
-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. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False
-RefreshPreference* <String> Specifies whether to refresh the dataset immediately or anytime within next 24 hours. Possible values are:
  1. RefreshNow
  2. RefreshOnNextTimeOfDay
-
invoke-refresherdataset [-cachename] [-port] [-server] [-dataset] [-refreshpreference] [-userid] [-password]

Examples of Invoke-RefresherDataset - PowerShell Cmdlet

  • The following command refreshes the dataset product immediately on demoCache on server 20.200.20.11.
invoke-refresherdataset -cachename demoCache -server 20.200.20.11 -dataset product -refreshpreference RefreshNow
  • This command refreshes the dataset product at the configured time of the dataset on demoCache within the next 24 hours. If the dataset specified will be a load only dataset, its preference will be treated as same as RefreshNow
invoke-refresherdataset -cachename demoCache -server 20.200.20.11 -dataset product -refreshpreference RefreshOnNextTimeOfDay

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. -
-port <Integer> Specifies the server port where NCache Service is listening. 8250
-server <String> Specifies the NCache server name where the NCache Service is running. Local Machine
-dataset* <String> Specifies the name of the pre-configured dataset registered on the cache. -
-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. -
-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. -
-nologo <SwitchParameter> Suppresses display of the logo banner. False
-refreshpreference* <String> Specifies whether to refresh the dataset immediately or anytime within next 24 hours. Possible values are:
  1. RefreshNow
  2. RefreshOnNextTimeOfDay
-
In This Article
  • Examples of Invoke-RefresherDataset - PowerShell Cmdlet
  • Properties
  • Examples of Invoke-RefresherDataset - PowerShell Cmdlet
  • 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