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:  WMI  Win32_TerminalServiceSetting  Query  

 Content of WMI Win32_TerminalServiceSetting Query.vbs
MD5 Hash: 29088902F308C067CFBD9462969B79F0
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TerminalServiceSetting",,48)
For Each objItem in colItems
Wscript.Echo "ActiveDesktop: " & objItem.ActiveDesktop
Wscript.Echo "AllowTSConnections: " & objItem.AllowTSConnections
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "DeleteTempFolders: " & objItem.DeleteTempFolders
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "DirectConnectLicenseServers: " & objItem.DirectConnectLicenseServers
Wscript.Echo "HomeDirectory: " & objItem.HomeDirectory
Wscript.Echo "LicensingDescription: " & objItem.LicensingDescription
Wscript.Echo "LicensingName: " & objItem.LicensingName
Wscript.Echo "LicensingType: " & objItem.LicensingType
Wscript.Echo "Logons: " & objItem.Logons
Wscript.Echo "ProfilePath: " & objItem.ProfilePath
Wscript.Echo "ServerName: " & objItem.ServerName
Wscript.Echo "SettingID: " & objItem.SettingID
Wscript.Echo "SingleSession: " & objItem.SingleSession
Wscript.Echo "TerminalServerMode: " & objItem.TerminalServerMode
Wscript.Echo "UserPermission: " & objItem.UserPermission
Wscript.Echo "UseTempFolders: " & objItem.UseTempFolders
Next

   © 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