Remove-LoaderDataset
This PowerShell cmdlet enables users to remove dataset from the cache where the Startup Cache Loader and Refresher is enabled.
Remove-LoaderDataset -CacheName [-Port] [-Server] -Dataset [-Credentials]
Examples
- This command removes a dataset order on local server where the Startup Cache Loader and Refresher are enabled.
Remove-LoaderDataset -CacheName demoCache -Dataset "order"
- This command removes a dataset order from the cache named demoCache existing on the server 20.200.20.11, where the Startup Cache Loader and Refresher are enabled.
Remove-LoaderDataset -CacheName demoCache -Server 20.200.20.11 -Dataset "order"
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 name of the cache registered on the server. The dataset will be removed from this specific cache. |
- |
-Port |
<Integer> |
Specifies the port on which NCache Service is listening. |
8260 |
-Server |
<String> |
Specifies the server name where NCache Service is running. |
Local Machine |
-Dataset* |
<String> |
Specifies the name of the dataset that needs to be removed. |
- |
-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. |
- |
remove-loaderdataset -cachename [-port] [-server] -dataset [-userid] [-password]
Examples
- This command removes a dataset order on local server where the Startup Cache Loader and Refresher are enabled.
remove-loaderdataset -cachename demoCache -dataset "order"
- This command removes a dataset order from the cache named demoCache existing on the server 20.200.20.11, where the Startup Cache Loader and Refresher are enabled.
remove-loaderdataset -cachename demoCache -server 20.200.20.11 -dataset "order"
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 name of the cache registered on the server. The dataset will be removed from this specific cache. |
- |
-port |
<Integer> |
Specifies the port on which NCache Service is listening. |
8260 |
-server |
<String> |
Specifies the server name where NCache Service is running. |
Local Machine |
-dataset* |
<String> |
Specifies the name of the dataset that needs to be removed. |
- |
-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. |
- |