AppFabric - PowerShell Commands (Part IV)
AppFabric - PowerShell Commands
All AppFabric PowerShell commands are case sensitive.
- Get list of all commands
- Syntax
get-command -module DistributedCacheAdministration
- Create new cache
- Syntax
- Syntax
new-cache <cache-name>
- Example
new-cache abc
- Start Cluster
- Syntax
start-cachecluster
- Get List of Hosts
- Syntax
get-cachehost
- Get list of named cache
- Syntax
get-cache
- Get configuration of specific cache
- Syntax
get-cacheconfig <cache-name> <cache-port>
- Example
get-cacheconfig localhost 22233
- Export
the cache cluster configurations
- Syntax
export-cacheclusterconfig <disk-location>
Example
export-cacheclusterconfig c:\a.txt
- Import
the cache cluster configurations
- Syntax
import-cacheclusterconfig <disk-location>
Example
import-cacheclusterconfig c:\a.txt
- Restart cache cluster
- Syntax
restart-cachecluster
- Stop cache cluster
- Syntax
stop-cachecluster
- Start cache cluster
- Syntax
start-cachecluster
- Start cache cluster
- Syntax
start-cachehost
- Register DLL in GAC
- Syntax
gacutil /i <full-dll-name>
- Example
gacutil /i D:\MyPC\poc\appfabric poc\appfabric poc\appfabric external dependencies\appfabricdatasourcesyncronizer.dll
- Check if DLL is registered in GAC
- Syntax
gacutil /l <dll-name>
- Example
gacutil /l appfabricdatasourcesyncronizer
Happy Learning!
Comments
Post a Comment