Quantcast
Channel: THWACK: Discussion List - All Communities
Viewing all articles
Browse latest Browse all 16365

WinRM error: Set-PSSessionConfiguration : Session Configuration "Microsoft.PowerShell" not found.

$
0
0

WinRM error: Set-PSSessionConfiguration : Session Configuration "Microsoft.PowerShell" not found.

 

I've seen a few people having an issue with powershell monitors and AppInsight applications were powershell setup is needed.

 

The following steps may resolve the issue:

 

Run the following command in Powershell cmdlet as Admnistrator:

Register-PSSessionConfiguration Microsoft.PowerShell -force to create Microsoft.PowerShell
session configuration. This will restart WinRM service.


You may also have to assign permissions correctly after command via the following:


Get-PSSessionCinfiguaration on it:

Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

 

PS C:\Users> Get-PSSessionConfiguration

 

Name          : microsoft.powershell.workflow
PSVersion     : 3.0
StartupScript :
RunAsUser     :
Permission    : BUILTIN\Administrators AccessAllowed

Here are the GPO settings that I set up to make PS2P0 (PowerShell 2.0) Remoting work:

Computer Configuration\Policies\Administrative Templates\Windows Components\Windows Remote Management (WinRM)\WinRM Service\Allow automatic configuration of listeners\Enabled (IPv4 Filter = *, IPv6 Filter = *)


Computer COnfiguration\Policies\Windows Settings\System Servies\Windows Remote Managment (WS-Managment)\Automatic


Computer COnfiguration\Policies\Administrative Templates\Network\Network Connections\Windows Firewall\Domain Profile\Windows Firewall: Define inbound port exceptions\5985:TCP:*:enabled:WSMan


Computer Configuration\Policies\Administrative Templates\Windows Components\Windows Remote Management (WinRM)\WinRM Service\Allow CredSSP authentication\Enabled


Computer Configuration\Policies\Administrative Templates\System\Credentials Delegation\Allow Delegation Fresh Credentials\Enabled

 

Get-PSSessionConfiguration

 

Enable-PSSessionConfiguration

 

You may also have to then install the PS snapin afterwards:

 

Windows PowerShell snap-in here - http://www.iis.net/downloads/microsoft/powershell


Viewing all articles
Browse latest Browse all 16365

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>