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?

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 ExternalUserSharingOnlyD. New-SPOSite –Url http://contoso.sharepoint.com/sites/mynewsite -StorageQuota 15000 -SharingCapability
ExternalUserSharingOnly

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

  1. chrisza says:

    No “technically” correct answer here. So deducing the most correct answer: Not “ExternalUserAndGuest” as they dont mention guest links. Also not “-storageQuota 15” – its denoted in MB, so not this. Compatibility level is as follows: 14=sharepoint2010, 15=sharepoint2013. No value is the latest (sharepoint2016)
    Best guess, d: New-SPOSite –Url http://contoso.sharepoint.com/sites/mynewsite -StorageQuota 15000 -SharingCapability ExternalUserSharingOnly

    New SPO site doesnt have “sharing capability” that’s in the set sposite cmdlet.

    -SharingCapability
    Disabled – external user sharing (share by email) and guest link sharing are both disabled
    ExternalUserSharingOnly – external user sharing (share by email) is enabled, but guest link sharing is disabled
    ExternalUserAndGuestSharing – external user sharing (share by email) and guest link sharing are both enabled.




    1



    0
  2. GermanGod says:

    But they are new questions in the test if you want to write it now like about StaffHub and things like that… like whats the requirement for StaffHub and if you need a license for this separately or not stuff like that…




    0



    0

Leave a Reply