Get-CacheAllowedClientAccounts Write Action
Microsoft.DistributedCache.GetCacheAllowedClientAccounts.WriteAction (WriteActionModuleType)
Invokes the Get-CacheAllowedClientAccounts PowerShell Cmdlet
Element properties:
Member Modules:
Source Code:
<WriteActionModuleType ID="Microsoft.DistributedCache.GetCacheAllowedClientAccounts.WriteAction" Accessibility="Public" RunAs="MicrosoftApplicationServerLibrary!Microsoft.DistributedCache.CacheClusterAdminAccount" Batching="false">
<Configuration/>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="DS" TypeID="System!System.CommandExecuter">
<ApplicationName>%windir%\system32\windowspowershell\v1.0\powershell.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>-Command ".\Get-CacheAllowedClientAccounts.ps1" </CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files>
<File>
<Name>Get-CacheAllowedClientAccounts.ps1</Name>
<Contents><Script>
$Error.Clear()
if ((Get-Command -Module DistributedCacheAdministration) -eq $null)
{
Import-Module DistributedCacheAdministration #Distributed Cache Admin PS module
Use-CacheCluster
}
Get-CacheAllowedClientAccounts
</Script></Contents>
<Unicode>1</Unicode>
</File>
</Files>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>