PrepAway - Latest Free Exam Questions & Answers

Which Windows PowerShell command should you run?

You are responsible for managing Office 365 for your customer.
You need to create a Microsoft SharePoint site that meets the following requirements:
– Enable external sharing.

– Prevent usage of guest links to share documents.
– Set the site quota to 15 gigabytes (GB).
– Set the compatibility level of the site collection to SharePoint 2016 or later.
You connect to SharePoint Online by using the SharePoint Online Management Shell.
Which Windows PowerShell command should you run? collection. The StorageQuota parameter specifies the storage quota for this site collection in megabytes.

PrepAway - Latest Free Exam Questions & Answers

A.
New-SPOSite –Url http://contoso.sharepoint.com/sites/mynewsite -StorageQuota 15000 -SharingCapability
ExternalUserAndGuestSharing

B.
New-SPOSite –Url http://contoso.sharepoint.com/sites/mynewsite -StorageQuota 15000 –CompatibilityLevel
15 –SharingCapability ExternalUserSharingOnly

C.
New-SPOSite –Url http://contoso.sharepoint.com/sites/mynewsite -StorageQuota 15 –CompatibilityLevel 15
–SharingCapability ExternalUserSharingOnly

D.
New-SPOSite –Url http://contoso.sharepoint.com/sites/mynewsite -StorageQuota 15000 -SharingCapability
ExternalUserSharingOnly

Explanation:

The New-SPOSite cmdlet creates a new site collection. The Url parameter specifies the full URL of the new site

3 Comments on “Which Windows PowerShell command should you run?

  1. Wings says:

    Answer D is correct, –CompatibilityLevel 15 is for sharepoint 2013

    For SharePoint Online Preview, it can only be set to “14” or “15”. “14” indicates SharePoint 2010 Products, “15” indicates SharePoint 2013. Other values are not valid and will cause error.




    1



    1

Leave a Reply