PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

Your network contains a server that has Microsoft SharePoint Foundation 2010 installed.
You need to ensure that a user named User1 can use Windows PowerShell to back up SharePoint site collections.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Run the Add-SPShellAdmin cmdlet.

B.
Run the Start-SPAssignment cmdlet.

C.
Add User1 to the Farm Administrators group.

D.
Add User1 to the local Backup Operators group.

Explanation:
Group memberships required to run backup and restore operations in Central Administration
You must ensure that all user accounts that will be backing up or restoring your farm and farm components by using Central Administration have the group memberships that are described in the following table.
Required group memberships
Farm component
Member of Administrators group on the local computer
Member of Farm Administrators SharePoint group
Farm
Yes
No
Content Database
Yes
No
Site Collection
No
Yes
Site, list, document library
No
Yes
Setting permissions for running backup and restore operations by using Windows PowerShell
You must ensure that all user accounts that will be backing up or restoring your farm and farm components by using Windows PowerShell are added to the SharePoint_Shell_Access role for a specified database and have the permissions described in the table later in this section.
You can run the Add-SPShellAdmin cmdlet to add a user account to this role. You must run the command for each user account. Moreover, you must run the command for all databases to which you want to grant access.
Add-SPShellAdmin -Username -Database
Source: http://technet.microsoft.com/en-us/library/ee748626.aspx


Leave a Reply