< Back
Format-ODPathorIdString
Post
NAME Format-ODPathorIdString
SYNOPSIS
SYNTAX
Format-ODPathorIdString [[-Path] <String>] [[-DriveId] <String>] [[-ElementId] <String>] [<CommonParameters>]
DESCRIPTION
Formats a given path like '/myFolder/mySubfolder/myFile' into an expected URI format
PARAMETERS
-Path <String>
Specifies the path of an element. If it is not given, the path is "/"
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DriveId <String>
Specifies the OneDrive drive id. If not set, the default drive is used
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ElementId <String>
Specifies the id of an element. If Path and ElementId are given, the ElementId is used with a warning
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Marcel Meurer, marcel.meurer@sepago.de, Twitter: MarcelMeurer
RELATED LINKS
SYNOPSIS
SYNTAX
Format-ODPathorIdString [[-Path] <String>] [[-DriveId] <String>] [[-ElementId] <String>] [<CommonParameters>]
DESCRIPTION
Formats a given path like '/myFolder/mySubfolder/myFile' into an expected URI format
PARAMETERS
-Path <String>
Specifies the path of an element. If it is not given, the path is "/"
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DriveId <String>
Specifies the OneDrive drive id. If not set, the default drive is used
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ElementId <String>
Specifies the id of an element. If Path and ElementId are given, the ElementId is used with a warning
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Marcel Meurer, marcel.meurer@sepago.de, Twitter: MarcelMeurer
RELATED LINKS