I am making PowerShell tools for our environment and I need a way of generating a list of terminal servers based on the cluster name with indicates what servers belong to that cluster. Remote Desktop Services Manager on our domain controller has this info, but it isn’t apparent how I can get this info.
I suspect I might have to upgrade PS. Can someone point me in the right direction.
AD server running Remote Desktop Manager
Windows 2008 R2 Standard
Powershell version
ajor Minor Build Revision
2 0 -1 -1
I have looked at current and available modules. The psterminaservices module doesn’t seem to be what I need.
[10.221.21.1]: PS C:\Users\Administrator\Documents> get-module ModuleType Name ExportedCommands ---------- ---- ---------------- Manifest psterminalservices {Get-TSCurrentSession, Get-TSSession, Get-TSProcess, Get-TSServers...} [10.221.21.1]: PS C:\Users\Administrator\Documents> get-module -ListAvailable ModuleType Name ExportedCommands ---------- ---- ---------------- Manifest psterminalservices {Get-TSCurrentSession, Get-TSSession, Get-TSProcess, Get-TSServers...} Manifest ActiveDirectory {} Manifest ADRMS {} Manifest AppLocker {} Manifest BestPractices {} Manifest BitsTransfer {} Manifest GroupPolicy {} Manifest PSDiagnostics {} Manifest PSTerminalServices {} Manifest ServerManager {} Manifest TroubleshootingPack {}