How to re-enable remote powershell for admins in exchange 2016

Ahed Naimi 21 Reputation points
2022-12-26T08:21:46.87+00:00

Hi all,
by mistake, I disabled remote powershell on Exchange 2016 server for all users (including admins), how can I re-enable it?
thank you

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
{count} votes

Answer accepted by question author
  1. Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator
    2022-12-26T14:21:26.65+00:00

    Open a generic powershell window on the exchange Server, then add the Exchange snap-in:

    Add-PSSnapIn Microsoft.Exchange.Management.PowerShell.SnapIn  
    

    Then run:

    Set-User  <admin>  -RemotePowerShellEnabled $true  
    

    https://learn.microsoft.com/en-us/powershell/exchange/control-remote-powershell-access-to-exchange-servers?view=exchange-ps

    273969-image.png


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.