Forum Discussion
Harshaacharya08
Oct 16, 2020Copper Contributor
I am unable to run get-ADPermission when exchange 2016 is invoked
I tried many ways, but "get-ADpermission doesn't work" it says un recognized. However wen i try with installing (add-snapin Microsoft.exchange ...) it throws error. I am unable to perform any 2016 rel...
farismalaeb
Oct 16, 2020Steel Contributor
Hi,
There is no Attachment
Did you try to start a PSRemote session which should be working fine with you
https://www.alitajran.com/load-exchange-management-shell-in-powershell-ise/
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://YourServer.FQDN/PowerShell/ -Credential $UserCredential
- Harshaacharya08Oct 16, 2020Copper ContributorI tried this, but wen I call the session I don't get the get-adpermission,for 2010 session I get the option but for 2016 I don't, that's the reason I tried installing the addsnappin, I get the below error
- farismalaebOct 17, 2020Steel Contributor
Run the following command
Get-PSSnapin -Registered
are you able to see your exchange snapin, if not then I think it's better to reinstall it (I assume this is a management client PC).
Do you have both management module for both Exchange 2010 and 2016 installed on the same PC ( as I understand ) or not.