Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.15 KB

New-PnPPersonalSite.md

File metadata and controls

56 lines (41 loc) · 1.15 KB
external help file applicable schema
SharePoint Online
2.0.0

New-PnPPersonalSite

SYNOPSIS

Office365 only: Creates a personal / OneDrive For Business site

SYNTAX

New-PnPPersonalSite -Email <String[]>
                    [-Connection <SPOnlineConnection>]

EXAMPLES

------------------EXAMPLE 1------------------

PS:> $users = ('[email protected]','[email protected]')
                 PS:> New-PnPPersonalSite -Email $users

Creates a personal / OneDrive For Business site for the 2 users in the variable $users

PARAMETERS

-Email

The UserPrincipalName (UPN) of the users

Type: String[]
Parameter Sets: (All)

Required: True
Position: 0
Accept pipeline input: False

-Connection

Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices