The Update-MobilePolicyCalculationcmdlet updates the Resultant Set of Policy (RSoP) held by the server for a given device.
The Update-MobilePolicyCalculationcmdlet queries Active Directory and the server calculates the RSoP for the user and the device. Then, the server caches this policy set for delivery to the device at the next device management session.
Syntax
Update-MobilePolicyCalculation [[-DeviceId] <DeviceIdParameter[]>] [<CommonParameters>] Update-MobilePolicyCalculation [-Owner <OwnerIdParameter[]>] [<CommonParameters>] |
Parameters
The following describes the Update-MobilePolicyCalculationcmdlet parameters.
- DeviceId <DeviceIdParameter[]>
-
Specifies the identity of the managed device for which to update the RSoP. This parameter can be a device common name, the distinguished name, the fully qualified domain name (FQDN), or the security ID (SID).
- Owner <OwnerIdParameter[]>
-
Identifies the managed device, based on the device owner, for which to update the RSoP. This parameter can be a common name, e-mail address, distinguished name, SID, or Logon ID.
- CommonParameters
-
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, at the Mobile Device Manager (MDM) Shell prompt, type get-help about_commonparameters.
Input Type
The Update-MobilePolicyCalculationcmdlet accepts a string through the pipeline that identifies a device or an object that has the deviceIdproperty.
Output Type
The Update-MobilePolicyCalculationcmdlet returns a MobilePolicyCalculationobject. To see all the properties for this object, at the MDM Shell prompt, type Update-MobilePolicyCalculation | Get-Member.
Examples
This Update-MobilePolicyCalculationcommand example updates the RSoP for the device, Device123.
Copy Code | |
---|---|
C:\PS>$a = Update-MobilePolicyCalculation -deviceid Device123 |
Cmdlet Help
To view this information online, at the MDM Shell prompt, type:
get-help Update-MobilePolicyCalculation -detailed, or get-help Update-MobilePolicyCalculation -full