Windows Server 2012 + Terminal Services + Sessions script
My script for connecting to the user’s sessions without GUI:
Write-host “Getting sessions list …”
Get-RDUserSession | ft Username, UnifiedSessionId, SessionState, HostServer -GroupBy Sessionstate
$sess = read-host “Enter session’s number: ”
If ($sess -ne “”)
{
Mstsc /shadow:$sess /control /noConsentPrompt
Write-host “Connecting and exiting.”
}
Else
{
Write-host “No sessions were choosen – Exiting.”
}
Windows 2012 Terminal Services + Thinstation + cursor issue Exchange 2010 + delete a specific e-mail from all the boxes
Comments are currently closed.