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  Accounts  

 Content of List Terminal Services Accounts.ps1
MD5 Hash: 489509A395858D90182528DA4FE62916
$strComputer = "."

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

foreach ($objItem in $colItems) {
write-host "Account Name: " $objItem.AccountName
write-host "Audit Failures: " $objItem.AuditFail
write-host "Audit Successes: " $objItem.AuditSuccess
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Permissions Allowed: " $objItem.PermissionsAllowed
write-host "Permissions Denied: " $objItem.PermissionsDenied
write-host "Setting ID: " $objItem.SettingID
write-host "SID: " $objItem.SID
write-host "Terminal Name: " $objItem.TerminalName
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