Powershell 2.0 DISA STIG

Posted by NurglesToes@reddit | sysadmin | View on Reddit | 7 comments

Morning everyone, my org has been on a big DISA STIG push, and weve made quite a bit of progress. at this point we're down to just a few doozies. One of them being this STIG:

WN11-00-000155 - The Windows PowerShell 2.0 feature must be disabled on the system. (1003669)

For context, Ive created an SCCM collection using a query / CM Pivot to group all of the machines that have the windows Optional feature enabled. Only about 4% of our machines fall into this category, the only issue is, we dont have a local pilot group to test this on before deploying it to end users which is obv a big no-no. Im working some other angles, but in the mean time, has anyone been able to Re-Install Powershell 2.0 in a test environment in such a way that Tenable is looking for?

Specifically, the plugin is calling for the "WindowsOptionalFeature" Command to invoke whether or not PS2.0 is enabled, but reinstalling that version of powershell only enables the binary, and doesnt add it to the Optional Features list, so when Tenable scans the machines, it returns (If following the microsoft sanctioned reinstall instructions)

FAILED - PowerShellv2:
POWERSHELL_NO_RESULT: powershell command returned no result

Any advice to a junior Sys guy? Thanks!