Share via


Update-MobilePolicyCalculation

2/9/2009

The Update-MobilePolicyCalculation cmdlet updates the Resultant Set of Policy (RSoP) held by the server for a given device.

The Update-MobilePolicyCalculation cmdlet 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-MobilePolicyCalculation cmdlet 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). If the value contains a space or other special characters, enclose the string in quotation marks.
  • Owner <OwnerIdParameter[]>
    Identifies all managed devices for the specified owner and updates the RSoP for those devices. This parameter can be a common name, e-mail address, distinguished name, SID, or Logon ID. If the value contains a space or other special characters, enclose the string in quotation marks.
  • CommonParameters
    This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, at the MDM Shell prompt, type get-help about_commonparameters.

Input Type

The Update-MobilePolicyCalculation cmdlet accepts a string through the pipeline that identifies a device or an object that has the DeviceId property.

Output Type

None

Examples

This Update-MobilePolicyCalculation command example updates the RSoP for the device, Device123.

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

See Also

Reference

Get-MobilePolicyServiceConfig
Set-MobilePolicyServiceConfig