Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Get-CMOneDriveBusinessProfile
- Module:
- ConfigurationManager Module
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
-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
-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
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.
Inputs
None
Outputs
System.Object
Related Links
Feedback
Was this page helpful?
