An IT engineering family’s journey…
-
Set-MpPreference
As you can see, Microsoft’s syntax is wrong:They show the syntax for setting soft-passive mode as ‘Set-MpPreference -DisableRealtimeMonitoring $true’ when it is ‘Set-MpPreference -DisableRealtimeMonitoring:$true’ <– NOTE THE COLON??? Arrrrgghhhh! I cannot tell you how frustrating it is when code is not written to give you ANY response unless you get the syntax EXACTLY right. *SIGH*…
-
VMware-Backup ESXi Config File
-
Gpupdate Latency Errors Lookup Script
I cannot TELL you how hard this was to write. Holy smokes the help on this is terrible.
-
Buy SquirrelTribe A Coffee Too!
We love you too! Buy me a coffee -Patrick https://www.buymeacoffee.com/squirreltribe/c/8837404 SquirrelTribe Feb 6, 2024 Howdy Y’all Good morning! I just wanted to say a quick thank you to all of you for your support and friendship. I want 2024 to be the best year for all of us and I plan on doing my part…
-
Locate Pervasive Lockouts of AD Accounts
You can use PowerShell to search the Security event log for lockout events…
-
PowerShell: Install ActiveDirectory Easily
I have found this make installing the ActiveDirectory Module FAR easier.Quick.Painless.
-
PowerShell/PowerCLI: UMount All ISOs At Once
Get-VM -Name $vm | Get-CDDrive | Set-CDDrive -NoMedia -StartConnected $false
-
ChatGPT-AzureAI:Tail in Windows
To use this function, simply call it with the path to the file you want to tail and the number of lines you want to show: tail “C:\Path\To\File.txt” 10
-
PowerShell: Check your local server performance
Collects performance data for 30 seconds and exits
-
PowerShell: Copy $Profile to every Windows Server
…Just remember to put your domain in for the ‘-SearchBase’