SkypeToolPack.psm1
# Check if all services are running on all servers in a pool function Get-CSPoolServices { param ( [Parameter(Position = 0, Mandatory = $true)] [string]$PoolFQDN ) $servers = Get-CsPool -identity $PoolFQDN foreach ($server in $servers.computers) { Write-Output $server Get-CsWindowsService -ComputerName $server } } Export-ModuleMember -Function Get-CSPoolServices -Alias gpool |