📄 sol14-10.vbs
字号:
'get a reference to the user
Set objUser = GetObject("WinNT://Acme/freds")
'list the machines the users have access to
For Each station In objUser.LoginWorkstations
Wscript.Echo station
Next
'set the machines a user is permitted to logon to
objUser.LoginWorkstations = Array("thor","odin","loki")
objUser.SetInfo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -