Configuration Manager cmdlet library changes for version 2006

Applies to: Configuration Manager (current branch)

These release notes summarize changes to the Configuration Manager cmdlet library in version 2006.

Note

Configuration Manager current branch version 2002 is the baseline for these changes. For more information, see Configuration Manager cmdlet library changes for version 2002.

Important changes

New cmdlets

Use the following cmdlets to configure BitLocker management policies:

Use the following cmdlets to manage BitLocker management policy settings objects:

Use the following cmdlets to manage Microsoft Defender Application Control policy objects:

Use the following cmdlets to manage deployments for BitLocker management policy settings and Microsoft Defender Application Control policy objects:

Deprecated cmdlets

None

Known issues

None

Cmdlet changes

The following changes have been made to existing cmdlets in this version. Changes may be new functionality, bug fixes, or deprecation. Some changes may be breaking. If you use one of the cmdlets or feature areas listed in this section, carefully review the changes to understand how they may affect your use.

Add-CMComplianceSettingRegistryKeyValue

For more information, see Add-CMComplianceSettingRegistryKeyValue.

Non-breaking changes

You can now specify a null or empty string for the -ExpectedValue parameter.

Get-CMBootImage

For more information, see Get-CMBootImage.

Non-breaking changes

Added a parameter to support the reload option: -Reload

Get-CMOperatingSystemImage

For more information, see Get-CMOperatingSystemImage.

Non-breaking changes

Added a parameter to support the reload option: -Reload

Get-CMOperatingSystemInstaller

For more information, see Get-CMOperatingSystemInstaller.

Non-breaking changes

Added a parameter to support the reload option: -Reload

New-CMApplicationDeployment

For more information, see New-CMApplicationDeployment.

Non-breaking changes

You can now specify a deadline for an available deployment with superseding option.

New-CMComplianceRuleValue

For more information, see New-CMComplianceRuleValue.

Non-breaking changes

You can now specify a null or empty string with the -ExpectedValue parameter.

New-CMTSStepEnableBitLocker

For more information, see New-CMTSStepEnableBitLocker.

Non-breaking changes

  • Added a parameter to skip the step when the device doesn't have a valid TPM: -EnableSkipWhenNoValidTpm

  • Added a parameter to specify the encryption method: -EncryptionMethod

New-CMTSStepOfflineEnableBitLocker

For more information, see New-CMTSStepOfflineEnableBitLocker.

Non-breaking changes

Added a parameter to specify the encryption method: -EncryptionMethod

New-CMTSStepPartitionDisk

For more information, see New-CMTSStepPartitionDisk.

Non-breaking changes

Added a parameter to specify a disk number variable: -DiskNumberVariable

New-CMTSStepPrestartCheck

For more information, see New-CMTSStepPrestartCheck.

Non-breaking changes

Fixed a blocking issue when you specify a value for the -OSArchitecture parameter.

Remove-CMDeployment

For more information, see Remove-CMDeployment.

Bugs that were fixed

Fixed bad disposal.

Remove-CMResource

For more information, see Remove-CMResource.

Bugs that were fixed

Fixed bad disposal.

Remove-CMTaskSequenceGroup

For more information, see Remove-CMTaskSequenceGroup.

Bugs that were fixed

Fixed bad disposal.

Remove-CMTaskSequenceStep

For more information, see Remove-CMTaskSequenceStep.

Bugs that were fixed

Fixed bad disposal.

Set-CMBootImage

For more information, see Set-CMBootImage.

Non-breaking changes

Added a parameter to support the reload option: -Reload

Set-CMClientSetting

For more information, see Set-CMClientSetting.

Non-breaking changes

Added a parameter to support the new restart setting: -NoRebootEnforcement

Set-CMClientSettingComputerRestart

For more information, see Set-CMClientSettingComputerRestart.

Non-breaking changes

Added a parameter to support the new restart setting: -NoRebootEnforcement

Set-CMCloudManagementGateway

For more information, see Set-CMCloudManagementGateway.

Non-breaking changes

Added the following parameters to support renewing the CMG server authentication certificate:

  • -ServiceCertPath

  • -ServiceCertPassword

  • -Force

Set-CMMsiDeploymentType

For more information, see Set-CMMsiDeploymentType.

Non-breaking changes

You can now specify an empty string for the parameters -UninstallCommand and -RepairCommand.

Set-CMOperatingSystemImage

For more information, see Set-CMOperatingSystemImage.

Non-breaking changes

Added a parameter to support the reload option: -Reload

Set-CMOperatingSystemInstaller

For more information, see Set-CMOperatingSystemInstaller.

Non-breaking changes

Added a parameter to support the reload option: -Reload

Set-CMScriptDeploymentType

For more information, see Set-CMScriptDeploymentType.

Non-breaking changes

You can now specify an empty string for the parameters -UninstallCommand and -RepairCommand.

Set-CMSoftwareUpdateAutoDeploymentRule

For more information, see Set-CMSoftwareUpdateAutoDeploymentRule.

Bugs that were fixed

When you tried to use Get-CMSoftwareUpdateAutoDeploymentRule with the -Fast parameter, and then pipe that object to Set-CMSoftwareUpdateAutoDeploymentRule, it would break the auto deployment rule.

Set-CMTSStepEnableBitLocker

For more information, see Set-CMTSStepEnableBitLocker.

Non-breaking changes

  • Added a parameter to skip the step when the device doesn't have a valid TPM: -EnableSkipWhenNoValidTpm

  • Added a parameter to allow you to specify the encryption method: -EncryptionMethod

Set-CMTSStepOfflineEnableBitLocker

For more information, see Set-CMTSStepOfflineEnableBitLocker.

Non-breaking changes

Added a parameter to allow you to specify the encryption method: -EncryptionMethod

Set-CMTSStepPartitionDisk

For more information, see Set-CMTSStepPartitionDisk.

Non-breaking changes

Added a parameter to allow you to set a disk number variable: -DiskNumberVariable

Set-CMTSStepPrestartCheck

For more information, see Set-CMTSStepPrestartCheck.

Non-breaking changes

Fixed a blocking issue when user specified a value for the OSArchitecture parameter.