AppFabric Cache Management cmdlet – v1.1

Print Friendly

Please find below, updated version of cmdlet published on my AppFabric Cache management cmdlet post:

#################################################################
#       AppFabricCacheSetup.ps1 PowerShell Cmdlet               #
#################################################################
# Prepares your AppFabric Cache Cluster environment for         #
# development.                                                  #
#################################################################
# Fatih Boy, April 2010                                         #
# Version 1.1                                                   #
#################################################################
Import-Module DistributedCacheAdministration
Use-CacheCluster
$cacheName= Read-Host "Please enter cache name to create (press enter to use default)"
if($cacheName -ne ""){
    New-Cache $cacheName
}
if ((Get-CacheAllowedClientAccounts) -notcontains $env:username) {
    Grant-CacheAllowedClientAccount $env:username
}
Start-CacheCluster
if($cacheName -ne ""){
    Write-Host ""
    Write-Host "$cacheName cache properties : "
    Write-Host "----------------------------------"
    Get-CacheConfig $cacheName
}else{
    Write-Host ""
    Write-Host "default cache properties : "
    Write-Host "----------------------------------"
    Get-CacheConfig default
}

Related posts:

  1. AppFabric Cache Management cmdlet
  2. AppFabric Cache Yönetim cmdlet’i – 1.1
  3. AppFabric Cache Yönetim cmdlet’i
  4. Tip : IIS 7 ve Asp.Net için AppFabric Cache Erişim Yetkisi
  5. PowerShell ile AppFabric Cache Yönetimi
  6. AppFabric Cache için geliştirme ortamının hazırlanması
  7. AppFabric Beta 2 Cache yapılandırma problemleri
  8. AppFabric Cache ve Yüksek Erişilebilirlik
  9. AppFabric Beta 2 is out!
  10. AppFabric Önbellek Mimarisi – 2
Twitter Digg Delicious Stumbleupon Technorati Facebook Email

No comments yet... Be the first to leave a reply!

Leave a Reply

 
QR Code Business Card