Thursday, January 21, 2021

Powershell scripts for getting Sharepoint System account

In this post we will try to get all the service account details in SharePoint environment. Before proceeding further in case if you are new to PowerShell make sure you visit this blog post to understand how to set up or how to start using PowerShell ISE.

There is cmdlet called SPProcessAccount which helps in getting all the required account details.

Local System account details

Get-SPProcessAccount –LocalSystem



LocalService account:

Get-SPProcessAccount –LocalService




NetworkService account:

Get-SPProcessAccount –NetworkService




No comments:

Post a Comment