Returns a folder from a given site relative path, and will create it if it does not exist.
Resolve-PnPFolder [-SiteRelativePath] <String> [-Connection <PnPConnection>] [-Includes <String>] [<CommonParameters>]
Returns a folder from a given site relative path, and will create it if it does not exist. If you do not want the folder to be created, for instance just to test if a folder exists, use Get-PnPFolder
Resolve-PnPFolder -SiteRelativePath "demofolder/subfolder"
Creates a folder called subfolder in a folder called demofolder located in the root folder of the site. If the folder hierarchy does not exist, it will be created.
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection Parameter Sets: (All) Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False
Site Relative Folder Path
Type: String Parameter Sets: (All) Required: True Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False