Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Server & Application Monitor (SAM) > SAM 6.4 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
14:25, 13 Mar 2017

Tags

Classifications

Public