To check if Powershell Remoting is turned on:
Enter-PSSession -ComputerName localhost If all goes well the output is shown like this:
[PS] C:\Windows\system32>Enter-PSSession -ComputerName localhost [localhost]: PS C:\Users\Username\Documents> In some cases you get an error stating that "Access denied", but doenst really give enough info on why access is denied. From an elevated command prompt run the following command:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f After that, re-launch the Powershell prompt as admin and re-run Enable-PSSRemoting
About: Exchange 2013-2016-2019-Online - Powershell - Windows 2012-2016-2019 - Teams - Office365 - PKI - Microsoft365
18 September 2014
Enable Powershell remoting and access denied
Labels:
Exchange 2010,
Powershell
Location:Utrecht
Utrecht, Nederland
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment