please consider using Set-StrictMode
Set-StrictMode -Version Latest
more info: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-7.2
Is there some specific issue you are referring to? Or just because of best practices.
many of your scripts require admin privileges + general best practices
This repository is deprecated anyway. New stuff is published via PowerShell gallery modules: https://www.powershellgallery.com/packages/SCCMStuff https://www.powershellgallery.com/packages/AzureADStuff https://www.powershellgallery.com/packages/CommonStuff https://www.powershellgallery.com/packages/IntuneStuff https://www.powershellgallery.com/packages/O365Stuff