Przydatne polecenia Powershell
powershell -ExecutionPolicy Bypass
[System.Diagnostics.Process]::Start(„chrome”,”duckduck.go”)
>> Pozwala na uruchomienie wybranej strony w Chrome
Add-Type -AssemblyName System.Speech; [Speech.Synthesis.SpeechSynthesizer]::new().Speak(„Następnym razem bądź bardziej ostrożny.”)
>> Syntetyzator mowy przez Powershell
(Get-Date)-(gcim Win32_OperatingSystem).LastBootUpTime
>> uptime
Start-Process -Verb RunAs powershell.exe
>> Uruchamia powershell z uprawnieniami Admina