Submit a ticketCall us

AnnouncementsTHWACKcamp 2018 is here

2018 is the seventh year for THWACKcamp™, and once again we’ll be live October 17 – 18 with packed session tracks covering everything from network monitoring and management, to change control, application management, storage, cloud and DevOps, security, automation, virtualization, mapping, logging, and more.

Register for online sessions.

Home > Success Center > Server & Application Monitor (SAM) > SAM Documentation > SAM 6.7 Administrator Guide > AppInsight for Exchange > Set PowerShell permissions for Exchange

Set PowerShell permissions for Exchange

Updated: 3-9-2017

After verifying an install, or installing PowerShell 2.0 or higher, you need to set the permissions. These permissions are required for AppInsight for Exchange and the Exchange server.

  1. On the remote computer, open the PowerShell console.
  2. Execute this command:Set-PSSessionConfiguration Microsoft.Powershell -ShowSecurityDescriptorUI -Force The permissions dialog should appear.
  3. Enable Full Control under the Permissions for Everyone group, and select Allow.
  4. Ensure that the group containing the polling user has access to Microsoft PowerShell, and click OK.
  5. Verify all permissions are set and saved.

Resolving errors after a reinstall

If PowerShell 2.0 was installed on Windows Server 2012 with Exchange 2013 and subsequently uninstalled, a Microsoft error removes the required registry key for remote PowerShell to work properly. Security patches or updates may also cause this issue. You can create the required registry key by following these instructions:

  1. Open Notepad and copy and paste the following text .
    Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine]

"ApplicationBase"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0"

"PSCompatibleVersion"="1.0, 2.0"

"RuntimeVersion"="v2.0.50727"

"ConsoleHostAssemblyName"="Microsoft.PowerShell.ConsoleHost, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=msil"

"ConsoleHostModuleName"="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\Microsoft.PowerShell.ConsoleHost.dll"

"PowerShellVersion"="2.0"

  1. Save the file as PowerShellv1.reg and then double-click it to add it to the registry.  A reboot may be required.
 
Last modified

Tags

Classifications

Public