programming4us
programming4us
WEBSITE

Sharepoint 2013 : Farm Management - Retrieve the System Accounts, Retrieve Managed Accounts

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
6/23/2014 8:55:06 PM

Retrieve the System Accounts


Scenario/Problem: You need to retrieve system account objects.


Solution: Use the Get-SPProcessAccount cmdlet.

Issuing the Get-SPProcessAccount cmdlet without any parameters displays all system and managed accounts on the SharePoint farm, as shown in Figure 1.

Image

Figure 1. Get-SPProcessAccount displays all system and managed accounts.

Several mutually exclusive switch parameters can retrieve a specific system account. The switch parameters are LocalSystem, LocalService, and NetworkService. Use these separately, as shown in Listing 1.

Listing 1. Retrieving Individual System Accounts


Get-SPProcessAccount -LocalSystem
Get-SPProcessAccount -LocalService
Get-SPProcessAccount -NetworkService



Tip

Pipe the result to other cmdlets that accept process accounts or assign the result to a variable for use within a cmdlet script.

Retrieve Managed Accounts


Scenario/Problem: You need to retrieve managed accounts on the farm.


Solution: Use the Get-SPManagedAccount cmdlet.

Issuing the Get-SPManagedAccount cmdlet without any parameters displays all managed accounts on the SharePoint farm. To retrieve a specific managed account, you can use the account name, as shown in Listing 2.

Listing 2. Retrieving a Specific Managed Account


Get-SPManagedAccount "SP\Administrator"



Tip

Pipe the result to other cmdlets that accept managed accounts or assign the result to a variable for use within a cmdlet script.

Other  
  •  Sharepoint 2013 : Farm Management - Refresh Installed Products,Change the Port of Central Admin,Change the Farm Passphrase
  •  Sharepoint 2013 : Farm Management - Review Farm Configuration Values,Set the Farm Configuration Values
  •  Web User’s Best Buys March 2014
  •  Sharepoint 2013 : Using SkyDrive Pro - Discontinuing sync between SkyDrive Pro and your local device
  •  Sharepoint 2013 : Using SkyDrive Pro - Locating followed documents by using SkyDrive Pro, Synchronizing SkyDrive Pro to your local computer
  •  Sharepoint 2013 : Using SkyDrive Pro - Following SkyDrive Pro documents, Locating followed documents by using the newsfeed
  •  Sharepoint 2013 : Using SkyDrive Pro - Sharing SkyDrive Pro files
  •  Sharepoint 2013 : Using SkyDrive Pro - Saving files to be accessible only to you
  •  Sharepoint 2013 : Using SkyDrive Pro - Accessing your SkyDrive Pro account, Saving files to SkyDrive Pro
  •  PowerShell for Microsoft SharePoint 2010 : Flow Control and Object Disposal - Object Disposal
  •  
    Top 10
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
    - Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
    - Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
    - Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
    - Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    programming4us programming4us
    programming4us
     
     
    programming4us