zjorz / Public-AD-Scripts

AD Scripts
GNU General Public License v3.0
272 stars 76 forks source link

please consider using Set-StrictMode to detect/avoid any coding problems #11

Closed rafalfitt closed 1 month ago

rafalfitt commented 2 years ago

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

zjorz commented 1 month ago

script is being updated to support Set-StrictMode -Version Latest. Testing n Posh 5.x and 7.4.5