How can I get the name of the Farm account ? I can see it listed in Get-SPManagedAccount, but do not see any properties on the SPManagedAccount objects to be able to dynamically filter by and determine if it's the farm administrator.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
Use |
|||
|
|
|
this is what i used to change the farm account Get-SPManagedAccount New-SPManagedAccount Remove-SPManagedAccount Set-SPManagedAccount |
|||
|
|
|
This will give you the Farm Administrators:
and
There should only be the farm admin common in these two groups |
|||
|
|