Run PSScriptAnalyzer on PowerShell scripts

What does this MR do?

Remove cruft added in !1634 (merged) and not removed in !2180 (merged)

Why was this MR needed?

To streamline the script and make sure it doesn't contain unused code.

What's the best way to test this MR?

What are the relevant issue numbers?

Edited by Steve Xuereb

Merge request reports

Loading