Инструменты пользователя

Инструменты сайта


Боковая панель


Программное обеспечение
Черновики


Краткая инструкция

howto:windows:powershell

Это старая версия документа!


Windows / powershell

Starting a Remote Session

Enter-PSSession -ComputerName COMPUTER -Credential USER

Прибить все процессы пользователя SRV\Administrator

taskkill /s SRV /u SRV\Administrator /p pass /F /FI "USERNAME eq SRV\Administrator" /IM *

Текущая дата

$d = Get-Date -format yyyyMMdd

TS

Displays information about sessions on a terminal server

query session [{SessionName|UserName|SessionID}] [/server:ServerName] [/mode] [/flow] [/connect] [/counter]

https://technet.microsoft.com/en-us/library/cc754340(v=ws.11).aspx

howto/windows/powershell.1497348394.txt.gz · Последние изменения: 2017/06/13 13:06 — Алексей Кожевников