Which three Windows PowerShell cmdlets should you run in sequence?

DRAG DROP
An organization migrates a SharePoint environment from SharePoint 2010 to SharePoint 2013. The
organization has a web application at http://intranet.contoso.com.A corporate governance policy states that users of the web application must be able to create sites only
with a compatibility level of SharePoint 2013.
You need to implement the governance policy.
Which three Windows PowerShell cmdlets should you run in sequence? (To answer, move the
appropriate cmdlets from the list of cmdlets to the answer area and arrange them in the correct order.)

DRAG DROP
An organization migrates a SharePoint environment from SharePoint 2010 to SharePoint 2013. The
organization has a web application at http://intranet.contoso.com.A corporate governance policy states that users of the web application must be able to create sites only
with a compatibility level of SharePoint 2013.
You need to implement the governance policy.
Which three Windows PowerShell cmdlets should you run in sequence? (To answer, move the
appropriate cmdlets from the list of cmdlets to the answer area and arrange them in the correct order.)

Answer: See the explanation

Explanation:
Box 1:

Box 2:

Box 3:

Note:
* RangeNameis one of the following values:OldVersions,NewVersion,AllVersions.
Here we must NewVerssion as ” the web application must be able to create sites only with a
compatibility level of SharePoint 2013″.* The last step is to validate.
* At the Windows PowerShell command prompt, type the following command to change the
compatibility range settings to a specific range:
$wa=Get-SPWebApplication<URL>
# Stores the web application at that URL as a variable
$wa.CompatibilityRange = [Microsoft.SharePoint.SPCompatibilityRange]::<RangeName>
# Specifies which range to use
$wa.Update()
# Updates the CompatibilityRange setting to use only the range you specified
$wa.CompatibilityRange
# Returns the new CompatibilityRange for the web application
Where:
<URL> is URL for the web application that you want to change.
RangeName is one of the following values: OldVersions, NewVersion, AllVersions. To change compatibility range for site creation modes for a web application by using
Windows PowerShell



Leave a Reply 0

Your email address will not be published. Required fields are marked *