locked
How to list the total number of ADFS Servers roles installed in domain or forest RRS feed

  • Question

  • Hi 

    How do we list ADFS servers in a domain or forest , with Powershell command and manual finding. How do we know which is primary ADFS server and read only ADFS servers ? 

    Regards,

    Bixam Boda

    Wednesday, May 25, 2016 3:51 PM

Answers

  • If you are using a gMSA account, you can do this:

    Get-ADServiceAccount -Identity "<you gMSA account's name>" -Properties PrincipalsAllowedToRetrieveManagedPassword | Select-Object PrincipalsAllowedToRetrieveManagedPassword
    

    If not, you just can't. You'll have to scan for installed services etc...


    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Thursday, May 26, 2016 5:01 PM