useful_powershell_functions icon indicating copy to clipboard operation
useful_powershell_functions copied to clipboard

please consider using Set-StrictMode

Open rafalfitt opened this issue 3 years ago • 3 comments

Set-StrictMode -Version Latest

more info: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-7.2

rafalfitt avatar Oct 07 '22 10:10 rafalfitt

Is there some specific issue you are referring to? Or just because of best practices.

ztrhgf avatar Oct 07 '22 11:10 ztrhgf

many of your scripts require admin privileges + general best practices

rafalfitt avatar Oct 07 '22 11:10 rafalfitt

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

ztrhgf avatar Oct 10 '22 09:10 ztrhgf