顯示伺服器上所有工作階段的清單。
此工作會執行 "NET SESSION" 命令,以顯示本機電腦上所有工作階段的相關資訊。
Target | Microsoft.Windows.Server.2008.Computer |
Accessibility | Public |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PA | ProbeAction | System.CommandExecuterProbe | Default |
<Task ID="Microsoft.Windows.Server.2008.Computer.SessionQuery.Task" Target="Server2008!Microsoft.Windows.Server.2008.Computer" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\NET.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>SESSION</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>