Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Terminal  Services  Session  Settings  

 Content of List Terminal Services Session Settings.ps1
MD5 Hash: BD53664C78FD2FB4FA5CCA7F44CD4C76
$strComputer = "."

$colItems = get-wmiobject -class "Win32_TSSessionSetting" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Active Session Limit: " $objItem.ActiveSessionLimit
write-host "Broken Connection Action: " $objItem.BrokenConnectionAction
write-host "Broken Connection Policy: " $objItem.BrokenConnectionPolicy
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Disconnected Session Limit: " $objItem.DisconnectedSessionLimit
write-host "Idle Session Limit: " $objItem.IdleSessionLimit
write-host "Reconnection Policy: " $objItem.ReconnectionPolicy
write-host "Setting ID: " $objItem.SettingID
write-host "Terminal Name: " $objItem.TerminalName
write-host "Time Limit Policy: " $objItem.TimeLimitPolicy
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a