阅读背景:

在PowerShell中获取当前的Windows会话ID

来源:互联网 

Every Win32_Process object contains a SessionId field. What is the simplest way to get the current Windows session ID in PowerShell? By current I mean the session in which the script is running. I'd like to avoid parsing the output of the Every Win32_Process object contains a SessionId




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: