Windows

Содержание
PowerShell
Network
Admin
Related Articles
PowerShell
PowerShell
Install
Basics
Alias
Functions
Network
Users
Get-Content -Tail: see end of file
New-Item: create new file
Get-FileHash: control sum
REST API requests
Errors
Network
Network in PowerShell
Windows Firewall
SSH
Telnet
pstools
RDP
SSH tunnel for RDP
NET USE
Admin
Terminal
Loudness Equalization
Drivers
Developer Mode
Git Bash
WSL: Windows Subsystem for Linux
PATH
Install Windows on gptк
batch file
Hot Keys
Robocopy
Restore
BSOD error logs
Add script to autostart
Banner image

Цикл FOR

C:\Users\Administrator>FOR %i IN (0, 1, 2) DO echo %i

C:\Users\Administrator>echo 0 0 C:\Users\Administrator>echo 1 1 C:\Users\Administrator>echo 2 2

Проверить свой пароль Windows

Проверить свой пароль можно с помощью команды runas

runas /u:Имя_компьютера_или_домена\Имя пользователя

Узнать имя компьютера можно открыв Control Panel → System и изучив поле Device Name

Пример

runas /u:andreiLaptop\Andrei notepad.exe

Enter the password for andreiLaptop\Andrei

Если вы введёте правильный пароль - откроется блокнот.

Если неправильный - получите ошибку

Attempting to start notepad.exe as user "andreiLaptop\Andrei" ... RUNAS ERROR: Unable to run - notepad.exe 1326: The user name or password is incorrect.

Если вы используете azureAD команда будет выглядеть следующим образом

runas /user:azureAD\andrei.olegovich@aredel.com notepad.exe

Enter the password for azureAD\andrei.olegovich@aredel.com: Attempting to start notepad.exe as user "azureAD\andrei.olegovich@aredel.com" ...

Article author: Andrei Olegovich

Похожие статьи
Windows
Loudness Equalization
PowerShell
tail analog in PowerShell
Firewall
Drivers
Developer Mode in Windows 10
BASH in Windows 10
Telnet in Windows 10
PATH system varialbe
Windows Installation on gpt disk

Search this site

Subscribe to Telegram channel @aofeed to follow new articles and updates to old ones

Go to channel

@aofeed

Ask a question in the Telegram group

@aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: