This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$filePattern = "C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys" | |
function Boot-Into-SafeMode { | |
if ((Get-WmiObject -Class Win32_OperatingSystem).BootMode -eq 1) { | |
Write-Host "System is already in Safe Mode." | |
return | |
} | |
Write-Host "[!] Rebooting system into Safe Mode. Please wait..." | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown mongodb:mongodb /tmp/mongodb-27017.sock |