#### Shutdown Options
- Restart computer into BIOS
`shutdown /r /fw /f /t 0`
- Shutdown
`shutdown /s`
- Restart
`shutdown /r`
---
#### BCDEdit (Boot Configuration Data) Command-line Options
- Enable safe mode via commandline
`bcedit /set {default} bootmenupolicy legacy`
- Disable hyper-v
`bcdedit /set hypervisorlaunchtype off`
- Enable hyper-v
`bcdedit /set hypervisorlaunchtype auto`
---
#### Disable Run Privileges bell
- Turn off beeping
```cmd
net stop beep
```
> NOTE: Replace `stop` with `start` to allow the service to work again. Defaults back to on at startup.
- Too disable at startup
- cmd:
```cmd
sc config beep start= disabled
```
> NOTE: Replace `disabled` with `auto` to allow at startup
- powershell:
```powershell
set-service beep -startuptype disabled
```
> NOTE: Replace `disabled` with `automatic` to allow at startup
---
#### Allow script execution
- Run the following command in PowerShell as an administrator:
```dos
Set-ExecutionPolicy RemoteSigned
```
---