SuperCATDevelopers / SuperCAT

The purpose of SuperCAT is to provide an all-in-one tool to inventory and audit offline computers without making any changes the baseline of the target machine. It is intended to run from a re-writable CD/DVD.
Other
1 stars 2 forks source link

Update PSScriptAnalyzer test to check for PS version compatibility #55

Closed lordneeko closed 2 years ago

lordneeko commented 2 years ago

https://devblogs.microsoft.com/powershell/using-psscriptanalyzer-to-check-powershell-version-compatibility/

We need to check what PS versions are required for each function call within the PS script to ensure widest compatibility. PSScriptanalyzer can help identify things that will not work in certain versions of PowerShell. Implement these rules.