Windows commands
Shutdown the system
icacls
Grant james full access to the script backup_powershell.ps1
Services commands
Note: Within a Powershell session, use sc.exe
Execute .vbs or .wsf scripts
Setting the PATH variable
cmd.exe
An alternative to whoami
In some old systems, the binary whoami might not work
Add domain user account
Ping
-n: number of request to send
where
Check the location of a specific file, in this case bash.exe, or binary recursively from the C:\ drive
wmic
Check for others logical disks
Checking for services that are non-standard and that are starting "auto"
Last updated