Applications Systems
Unable to setup PSLanguageMode setting for the PowerShell website
Unable to setup PSLanguageMode setting for the PowerShell website.
First published date
Last published date
Overview
Note: To support AppInsight for Exchange, earlier versions of SAM used FullLanguage mode on target servers. Starting in SAM 2020.2.6, use RestrictedLanguage as the minimum PSLanguageMode setting in PowerShell on target servers. For a script to adjust that setting on existing servers, see Update PSLanguageMode PowerShell settings for target AppInsight for Exchange nodes in SAM.
Product section
Resolution
- Open IIS Manager on the Exchange server.
- Expand the tree to the Default Web Site/PowerShell virtual directory.
- Double-click Application Settings.
- Change the value for PSLanguageMode to FullLanguage.
- Recycle the MSExchangePowerShellAppPool application pool.
For Exchange 2013, also check the following:
- Expand the tree to the Exchange Back End/PowerShell virtual directory.
- Double-click Application Settings.
- Change the value for PSLanguageMode to FullLanguage.
- Recycle MSExchangePowerShellFrontEndAppPool application pool.