|
| 1 | +--- |
| 2 | +author: aczechowski |
| 3 | +ms.author: aaroncz |
| 4 | +ms.prod: configuration-manager |
| 5 | +ms.technology: configmgr-core |
| 6 | +ms.topic: include |
| 7 | +ms.date: 01/27/2022 |
| 8 | +ms.localizationpriority: medium |
| 9 | +--- |
| 10 | + |
| 11 | +## <a name="bkmk_powershell"></a> PowerShell release notes preview |
| 12 | + |
| 13 | +<!--12654996--> |
| 14 | + |
| 15 | +These release notes summarize changes to the Configuration Manager PowerShell cmdlets in this technical preview release. |
| 16 | + |
| 17 | +For more information about PowerShell for Configuration Manager, see [Get started with Configuration Manager cmdlets](/powershell/sccm/overview). |
| 18 | + |
| 19 | +### New cmdlets |
| 20 | + |
| 21 | +#### Get-CMAADTenant |
| 22 | + |
| 23 | +Use this cmdlet to get an Azure Active Directory (Azure AD) tenant from the site. |
| 24 | + |
| 25 | +```powershell |
| 26 | +Get-CMAADTenant |
| 27 | +Get-CMAADTenant -Id $id |
| 28 | +Get-CMAADTenant -Name $name |
| 29 | +``` |
| 30 | + |
| 31 | +#### Set-CMCollectionCloudSync |
| 32 | + |
| 33 | +Use this cmdlet to configure the following cloud sync features for a collection: |
| 34 | + |
| 35 | +- Make a collection available to assign endpoint security policies from the Microsoft Endpoint Manager admin center. For more information, see [Tenant attach: Onboard Configuration Manager clients to Microsoft Defender for Endpoint from the admin center](../../../../../tenant-attach/atp-onboard.md). |
| 36 | + |
| 37 | +- Synchronize collection member results to Azure AD groups. For more information, see [Synchronize members to Azure AD groups](../../../../clients/manage/collections/create-collections.md#bkmk_aadcollsync). |
| 38 | + |
| 39 | +```powershell |
| 40 | +Set-CMCollectionCloudSync -Name $name -EnableAssignEndpointSecurityPolicy $true -TenantId $tenantId -AddGroupName $array -Verbose |
| 41 | +Set-CMCollectionCloudSync -Id $collectionId -TenantName $tenantName -RemoveGroupName $array1 -AddGroupName $array2 |
| 42 | +$collectionObj | Set-CMCollectionCloudSync TenantObject $tenantObj -RemoveGroupName $array1 -AddGroupName $array2 |
| 43 | +``` |
| 44 | + |
| 45 | +### Modified cmdlets |
| 46 | + |
| 47 | +#### Get-CMDeploymentTypeDetectionClause |
| 48 | + |
| 49 | +For more information, see [Get-CMDeploymentTypeDetectionClause](/powershell/module/configurationmanager/Get-CMDeploymentTypeDetectionClause). |
| 50 | + |
| 51 | +**Non-breaking changes** |
| 52 | + |
| 53 | +The cmdlet can now get a detection clause from a script deployment type. |
| 54 | + |
| 55 | +#### Get-CMDeploymentStatusDetails |
| 56 | + |
| 57 | +For more information, see [Get-CMDeploymentStatusDetails](/powershell/module/configurationmanager/Get-CMDeploymentStatusDetails). |
| 58 | + |
| 59 | +**Bugs that were fixed** |
| 60 | + |
| 61 | +Updated the cmdlet to avoid a potential null reference error. |
| 62 | + |
| 63 | +#### Import-CMApplication |
| 64 | + |
| 65 | +For more information, see [Import-CMApplication](/powershell/module/configurationmanager/Import-CMApplication). |
| 66 | + |
| 67 | +**Non-breaking changes** |
| 68 | + |
| 69 | +Updated the import logic to align with console. Added new warning messages. |
| 70 | + |
| 71 | +#### New-CMCoManagementPolicy |
| 72 | + |
| 73 | +For more information, see [New-CMCoManagementPolicy](/powershell/module/configurationmanager/New-CMCoManagementPolicy). |
| 74 | + |
| 75 | +**Non-breaking changes** |
| 76 | + |
| 77 | +The cmdlet now supports applicability for Windows 11 on ARM64 devices. |
| 78 | + |
| 79 | +#### New-CMApplication |
| 80 | + |
| 81 | +For more information, see [New-CMApplication](/powershell/module/configurationmanager/New-CMApplication). |
| 82 | + |
| 83 | +**Non-breaking changes** |
| 84 | + |
| 85 | +It can now get an application icon from the specified file. |
| 86 | + |
| 87 | +#### New-CMTaskSequence |
| 88 | + |
| 89 | +For more information, see [New-CMTaskSequence](/powershell/module/configurationmanager/New-CMTaskSequence). |
| 90 | + |
| 91 | +**Non-breaking changes** |
| 92 | + |
| 93 | +Added the **IconLocationFile** parameter to support specifying an icon for the task sequence. For more information, see [Support for task sequence and package icons](#bkmk_tsico). |
| 94 | + |
| 95 | +#### New-CMTaskSequenceDeployment |
| 96 | + |
| 97 | +For more information, see [New-CMTaskSequenceDeployment](/powershell/module/configurationmanager/New-CMTaskSequenceDeployment). |
| 98 | + |
| 99 | +**Bugs that were fixed** |
| 100 | + |
| 101 | +Fixed an issue with the **AllowSharedContent** parameter. |
| 102 | + |
| 103 | +#### Publish-CMThirdPartySoftwareUpdateContent |
| 104 | + |
| 105 | +For more information, see [Publish-CMThirdPartySoftwareUpdateContent](/powershell/module/configurationmanager/Publish-CMThirdPartySoftwareUpdateContent). |
| 106 | + |
| 107 | +**Non-breaking changes** |
| 108 | + |
| 109 | +Added the **Force** parameter to run the command without asking for confirmation. |
| 110 | + |
| 111 | +#### Set-CMSoftwareUpdatePointComponent |
| 112 | + |
| 113 | +For more information, see [Set-CMSoftwareUpdatePointComponent](/powershell/module/configurationmanager/Set-CMSoftwareUpdatePointComponent). |
| 114 | + |
| 115 | +**Non-breaking changes** |
| 116 | + |
| 117 | +Added the **NonWindowsUpdateMaxRuntimeMins** parameter to change the default maximum run time for non-Windows software updates. |
| 118 | + |
| 119 | +#### Set-CMTaskSequence |
| 120 | + |
| 121 | +For more information, see [Set-CMTaskSequence](/powershell/module/configurationmanager/Set-CMTaskSequence). |
| 122 | + |
| 123 | +**Non-breaking changes** |
| 124 | + |
| 125 | +Added the **IconLocationFile** parameter to support specifying an icon for the task sequence. For more information, see [Support for task sequence and package icons](#bkmk_tsico). |
| 126 | + |
| 127 | +#### Set-CMTaskSequenceDeployment |
| 128 | + |
| 129 | +For more information, see [Set-CMTaskSequenceDeployment](/powershell/module/configurationmanager/Set-CMTaskSequenceDeployment). |
| 130 | + |
| 131 | +**Bugs that were fixed** |
| 132 | + |
| 133 | +Fixed an issue with the **AllowSharedContent** parameter. |
| 134 | + |
| 135 | +#### Start-CMTaskSequenceDeployment |
| 136 | + |
| 137 | +For more information, see [Start-CMTaskSequenceDeployment](/powershell/module/configurationmanager/Start-CMTaskSequenceDeployment). |
| 138 | + |
| 139 | +**Bugs that were fixed** |
| 140 | + |
| 141 | +Fixed an issue with the **AllowSharedContent** parameter. |
0 commit comments