Baseline Info (please complete the following information):
Describe the bug
The policy Win - OIB - SC - Device Security - D - Script File Associations - v3.4 contains an
association for .ps1m. This is not a valid PowerShell extension — the PowerShell module
extension is .psm1.
The entry therefore has no effect, and .psm1 files are not covered by the policy. Every tenant
deploying this baseline has the same gap.
To Reproduce
Via the policy configuration:
- Open
Win - OIB - SC - Device Security - D - Script File Associations - v3.4
- View the default associations configuration XML
- Observe the entry:
<Association Identifier=".ps1m" ProgId="Applications\notepad.exe" ApplicationName="Notepad" />
- Note there is no entry for
.psm1
Expected behaviour
.psm1 files should be associated with Notepad, consistent with the other PowerShell and script
extensions covered by the policy. The .ps1m entry should be corrected to .psm1:
<Association Identifier=".psm1" ProgId="Applications\notepad.exe" ApplicationName="Notepad" />
Screenshots
Not applicable — the relevant XML line is included above.
Additional context
perhaps consider also .reg and .scr?
Baseline Info (please complete the following information):
Describe the bug
The policy
Win - OIB - SC - Device Security - D - Script File Associations - v3.4contains anassociation for
.ps1m. This is not a valid PowerShell extension — the PowerShell moduleextension is
.psm1.The entry therefore has no effect, and
.psm1files are not covered by the policy. Every tenantdeploying this baseline has the same gap.
To Reproduce
Via the policy configuration:
Win - OIB - SC - Device Security - D - Script File Associations - v3.4.psm1Expected behaviour
.psm1files should be associated with Notepad, consistent with the other PowerShell and scriptextensions covered by the policy. The
.ps1mentry should be corrected to.psm1:Screenshots
Not applicable — the relevant XML line is included above.
Additional context
perhaps consider also .reg and .scr?