Windows
| 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 in PowerShell |
| Windows Firewall |
| SSH |
| Telnet |
| pstools |
| RDP |
| SSH tunnel for RDP |
| NET USE |
| Loudness Equalization |
| Drivers |
| Developer Mode |
| Git Bash |
| WSL: Windows Subsystem for Linux |
| PATH |
| Install Windows on gptk |
| batch file |
| Robocopy |
| Restore |
| BSOD error logs |
| Add script to autostart |
FOR Cycle
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
Check your Windows password
You can check your password using commands. runas
runas /u:Computer_name_or_domain\User name
The name of the computer can be opened. Control Panel → System and field-study Device Name
Example
runas /u:andreiLaptop\Andrei notepad.exe
Enter the password for andreiLaptop\Andrei
If you enter the correct password, the notebook will open.
If you are wrong, you will get a mistake.
Attempting to start notepad.exe as user "andreiLaptop\Andrei" ... RUNAS ERROR: Unable to run - notepad.exe 1326: The user name or password is incorrect.
If you use azureAD command, it will look like this.
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