PrepAway - Latest Free Exam Questions & Answers

How should you build the cmdlet?

DRAG DROP
You provision and configure a new SharePoint farm. The farm has not been backed up.
You need to use Windows PowerShell to back up all service applications in the farm.
How should you build the cmdlet? (To answer, drag the appropriate element to the correct location
or locations in the answer area. Each element may be used once, more than once, or not at all. You
may need to drag the split bar between panes or scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
Note:
* You can use Windows PowerShell to back up the farm manually or as part of a script that can be
run at scheduled intervals.
* The Backup-SPFarmcmdlet creates a backup for the entire farm or individual components within
the farm. It can also be used to back up just the configuration settings of a farm to be used as a farm
template for other SharePoint farms.
Syntax:
Backup-SPFarm -BackupMethod<String> -Directory <String> [-
AssignmentCollection<SPAssignmentCollection>] [-BackupThreads<Int32>] [-
ConfigurationOnly<SwitchParameter>] [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>]
[-Item <String>] [-Percentage <Int32>] [-WhatIf [<SwitchParameter>]]
* Here we need a full backup, since the farm has not been backed up earlier.
* Item Parameter
Indicates the part of the farm to back up.
Here we should use Farm\Shared Services

2 Comments on “How should you build the cmdlet?


Leave a Reply