• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Invoke-RefresherDataset

This PowerShell cmdlet enables the user to refresh a pre-configured dataset in the cache at runtime, ensuring real-time data freshness and keeping cache data up to date with the backend. The dataset is refreshed according to the specified RefreshPreference, allowing either an immediate refresh (RefreshNow) or a scheduled refresh within the next configured time window (RefreshOnNextTimeOfDay).

Invoke-RefresherDataset -CacheName [-Port] [-Server] -Dataset [-RefreshPreference] [-Credentials] [-NoLogo]

Examples

  • This 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 specified dataset is a loader-only dataset, its refresh preference is treated the same as RefreshNow.
Invoke-RefresherDataset -CacheName demoCache -Server 20.200.20.11 -Dataset product -RefreshPreference RefreshOnNextTimeOfDay
  • This command refreshes the dataset product immediately on demoCache on server 20.200.20.11, using security credentials.
Invoke-RefresherDataset -CacheName demoCache -Server 20.200.20.11 -Dataset product -RefreshPreference RefreshNow -Credentials(Get-Credential john_smith)

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.
Note: The cache must already exist on the source server.
-
-Port <Integer> Specifies the server port where NCache Service is listening. 8250
-Server <String> Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered. IP of 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 with the appropriate permissions at the node. -
-RefreshPreference <String> Specifies whether to refresh the dataset immediately or anytime within next 24 hours. Possible values are:
  1. RefreshNow
  2. RefreshOnNextTimeOfDay
-
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • 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 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top