# Sample script: Remove-Scaleout-Object.ps1
Param
(
[parameter(Mandatory=$true)]
[String] $Namespace,
[parameter(Mandatory=$true)]
[String] $Key
)
# Load ScaleOut library (version 2.0.0.0 will also work if PS runs under an older .NET runtime):
Add-Type -AssemblyName "soss_namedcache, Version=5.0.0.0, Culture=neutral, PublicKeyToken=a1ec0b86f746a476"
$nc = [Soss.Client.CacheFactory]::GetCache($Namespace)
$nc.Remove($Key)
.\Remove-Scaleout-Object.ps1 -Namespace "Customers" -Key "Customer 1234"