Get-CMOneDriveBusinessProfile
Get a policy for a OneDrive for Business profile.
Syntax
ByValue (Default)
Get-CMOneDriveBusinessProfile
[-Fast]
[<CommonParameters>]
ById
Get-CMOneDriveBusinessProfile
[-Id] <Int32>
[-Fast]
[<CommonParameters>]
ByName
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
.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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
.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | CIId, CI_ID |
Parameter sets
ById
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specify the name of the OneDrive for Business policy to get.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | True |
DontShow: | False |
Parameter sets
ByName
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.