Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Terminal Services Profile Properties for a User AccountContent of Modify Terminal Services Profile Properties for a User Account.vbsMD5 Hash: 16A62765D1839E3784EA042EAFA5761E |
||
' Description: Configures Terminal Services profile attributes for the MyerKen Active Directory user account.
Const Enabled = 1 Const Disabled = 0 Set objUser = GetObject _ ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com") objUser.TerminalServicesProfilePath = "" objUser.TerminalServicesHomeDirectory = "" objUser.TerminalServicesHomeDrive = "" objUser.AllowLogon = Enabled objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |