Forum Discussion

Harshaacharya08's avatar
Harshaacharya08
Copper Contributor
Oct 16, 2020

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 related task.
    • Harshaacharya08's avatar
      Harshaacharya08
      Copper Contributor
      I 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
      • farismalaeb's avatar
        farismalaeb
        Steel Contributor

        Harshaacharya08 

        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.

Resources