Hardcore mode in PowerShell is the equivalent to legendary mode in Skyrim. One wrong move and you get to start over. But how do you enable it in PowerShell?
Start by finding a coworker that is pretty cocky with PowerShell. Remotely edit their PowerShell profile and paste in the following code at the end of their profile:
$ExecutionContext.InvokeCommand.CommandNotFoundAction = { Stop-Computer -Force }
PowerShell will continue to work perfectly…until they mistype a command. When that happens, their computer will immediately shutdown. Happy Friday!