In this article we will discuss how to get all system accounts using PowerShell in SharePoint 2010
. PowerShell is very much improved as compared to STSADM.
SPProcessAccount helps us to get all the system accounts like LocalSystem account, LocalService account and NetworkService account.
This command will retrieve all the above accounts.
But if you want to retrieve indivisually then we have to follow below commands:
Also you can check my last powershell article on how to create web application, Site collections and sub sites using PowerShell here
. You can also check a very good article on how to Install or UnInstall Assembly dll into GAC using PowerShell here
. Also check some more PowerShell commands here