Directly let Windows logout scripts

xiaoxiao2021-03-06  42

Save the following code as a .vbs file, double-click to run to log out Windows:

Set coloperatingsystems = getObject ("Winmgmts: {(shutdown)}). EXECQUERY (" SELECT * WIN32_OPERATISTEM ")

For Each Objoteingsystem in coloperatingsystems

Objoperatingsystem.win32shutdown (0)

NEXT

转载请注明原文地址:https://www.9cbs.com/read-77375.html

New Post(0)