Get-CMOneDriveBusinessProfile

Get a policy for a OneDrive for Business profile.

Syntax

Get-CMOneDriveBusinessProfile
   [-Fast]
   [<CommonParameters>]
Get-CMOneDriveBusinessProfile
   [-Id] <Int32>
   [-Fast]
   [<CommonParameters>]
Get-CMOneDriveBusinessProfile
   [-Name] <String>
   [-Fast]
   [<CommonParameters>]

Description

Get a policy for a OneDrive for Business profile. For more information, see OneDrive for Business profiles.

Examples

Example 1

Get-CMOneDriveBusinessProfile -Id 584750

Parameters

-Fast

Add this parameter to not automatically refresh lazy properties. Lazy properties contain values that are relatively inefficient to retrieve. Getting these properties can cause additional network traffic and decrease cmdlet performance.

If you don't use this parameter, the cmdlet displays a warning. To disable this warning, set $CMPSSuppressFastNotUsedCheck = $true.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Id

Specify the CI ID of the OneDrive for Business policy to get. The format is a five- to seven-digit number, for example 403823.

Type:Int32
Aliases:CIId, CI_ID
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specify the name of the OneDrive for Business policy to get.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:True

Inputs

None

Outputs

System.Object