Skip to content

Commit 17f67f6

Browse files
author
Angela Fleischmann
authored
Merge pull request #7731 from Banreet/patch-1
Update 14431761.md
2 parents 74a712b + ff764d8 commit 17f67f6

1 file changed

Lines changed: 181 additions & 5 deletions

File tree

  • memdocs/configmgr/core/get-started/2022/includes/2206
Lines changed: 181 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,189 @@
11
---
2-
author: mestew
3-
ms.author: mstewart
2+
author: Banreet
3+
ms.author: banreetkaur
44
ms.prod: configuration-manager
55
ms.technology: configmgr-core
66
ms.topic: include
7-
ms.date: 06/10/2022
7+
ms.date: 06/06/2022
88
ms.localizationpriority: medium
99
---
1010

11-
## <a name="bkmk_anchor"></a> Feature Name
12-
<!--CMADO#-->
11+
## <a name="bkmk_powershell"></a> PowerShell release notes preview
1312

13+
<!--14431761-->
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+
#### Approve-CMOrchestrationGroupScript
22+
23+
Use this cmdlet to approve an orchestration group script. For more information, see [About orchestration groups in Configuration Manager](../../../../../sum/deploy-use/orchestration-groups.md).
24+
25+
```powershell
26+
$referenceOG = Get-CMOrchestrationGroup -Name $Script:OGName
27+
$preScript = $referenceOG | Get-CMOrchestrationGroupScript -ScriptType Pre
28+
$preScript | Approve-CMOrchestrationGroupScript -Comment "Approve"
29+
Approve-CMOrchestrationGroupScript -ScriptGuid $PreScript.ScriptGuid
30+
```
31+
32+
#### Deny-CMOrchestrationGroupScript
33+
34+
Use this cmdlet to deny an orchestration group script. For more information, see [About orchestration groups in Configuration Manager](../../../../../sum/deploy-use/orchestration-groups.md).
35+
36+
```powershell
37+
$referenceOG = Get-CMOrchestrationGroup -Name $Script:OGName
38+
$preScript = $referenceOG | Get-CMOrchestrationGroupScript -ScriptType Pre
39+
$preScript | Deny-CMOrchestrationGroupScript -Comment "Deny"
40+
Deny-CMOrchestrationGroupScript -ScriptGuid $PreScript.ScriptGuid -Comment "Deny"
41+
```
42+
43+
#### Get-CMOrchestrationGroupScript
44+
45+
Use this cmdlet to get a script from the specified orchestration group. For more information, see [About orchestration groups in Configuration Manager](../../../../../sum/deploy-use/orchestration-groups.md).
46+
47+
```powershell
48+
$referenceOG = Get-CMOrchestrationGroup -Name $Script:OGName
49+
$preScript = $referenceOG | Get-CMOrchestrationGroupScript -ScriptType Pre
50+
```
51+
52+
#### Get-CMTrustedRootCertificationAuthority
53+
54+
Use this cmdlet to get the certificates for trusted root certification authorities from the site.
55+
56+
```powershell
57+
$ci =Get-CMTrustedRootCertificationAuthority
58+
$ci =Get-CMTrustedRootCertificationAuthority -ViewDetail
59+
```
60+
61+
#### New-CMAADClientApplication
62+
63+
Use this cmdlet to create a client app registration in Azure Active Directory (Azure AD). When you run this cmdlet, it will prompt you to sign in to your tenant. For more information on this app registration, see [Manually register Azure AD apps for the CMG](../../../../clients/manage/cmg/manually-register-azure-ad-apps.md).
64+
65+
```powershell
66+
$serverApp = New-CMAADServerApplication -AppName $appName
67+
New-CMAADClientApplication -AppName $name -InputObject $serverApp
68+
```
69+
70+
#### New-CMAADServerApplication
71+
72+
Use this cmdlet to create a server app registration in Azure AD. When you run this cmdlet, it will prompt you to sign in to your tenant. For more information on this app registration, see [Manually register Azure AD apps for the CMG](../../../../clients/manage/cmg/manually-register-azure-ad-apps.md).
73+
74+
```powershell
75+
New-CMAADServerApplication -AppName $appName
76+
```
77+
78+
### Modified cmdlets
79+
80+
#### Add-CMComplianceSettingWqlQuery
81+
82+
For more information, see [Add-CMComplianceSettingWqlQuery](/powershell/module/configurationmanager/Add-CMComplianceSettingWqlQuery).
83+
84+
**Non-breaking changes**
85+
86+
When using this cmdlet, you can now specify $null value to the parameter **WhereClause**.
87+
88+
#### Add-CMManagementPoint
89+
90+
For more information, see [Add-CMManagementPoint](/powershell/module/configurationmanager/Add-CMManagementPoint).
91+
92+
**Non-breaking changes**
93+
94+
When you use this cmdlet to enable communication with the cloud management gateway, it now by default configures the management point to support both internet and intranet clients.
95+
96+
#### Get-CMNotification
97+
98+
For more information, see [Get-CMNotification](/powershell/module/configurationmanager/Get-CMNotification).
99+
100+
**Non-breaking changes**
101+
102+
You can now use this cmdlet to get built-in notification by using parameter **IsBuiltIn**.
103+
You can now also use this cmdlet to get notification that could be dismissed by using parameter **CanDismiss**.
104+
105+
#### Get-CMObjectSecurityScope
106+
107+
For more information, see [Get-CMObjectSecurityScope](/powershell/module/configurationmanager/Get-CMObjectSecurityScope).
108+
109+
**Non-breaking changes**
110+
111+
You can now use this cmdlet to get the security scope of a specified folder object.
112+
113+
#### New-CMCloudManagementGateway
114+
115+
For more information, see [New-CMCloudManagementGateway](/powershell/module/configurationmanager/New-CMCloudManagementGateway).
116+
117+
**Non-breaking changes**
118+
119+
Added parameters **VMSSVMSize** and **Version** to support creating a cloud management gateway (CMG) using a virtual machine scale set.
120+
121+
#### New-CMComplianceRuleRegistryKeyPermission
122+
123+
For more information, see [New-CMComplianceRuleRegistryKeyPermission](/powershell/module/configurationmanager/New-CMComplianceRuleRegistryKeyPermission).
124+
125+
**Non-breaking changes**
126+
127+
Fixed an issue in **OperandDataType** property when creating a rule.
128+
129+
#### Set-CMClientSettingClientCache
130+
131+
For more information, see [Set-CMClientSettingClientCache](/powershell/module/configurationmanager/Set-CMClientSettingClientCache).
132+
133+
**Non-breaking changes**
134+
135+
Added a new parameter **MinCacheTombstoneContentMins** to support setting the minimum duration before the client can remove cached content.
136+
137+
#### Set-CMClientSettingComplianceSetting
138+
139+
For more information, see [Set-CMClientSettingComplianceSetting](/powershell/module/configurationmanager/Set-CMClientSettingComplianceSetting).
140+
141+
**Non-breaking changes**
142+
143+
Added a new parameter **ScriptExecutionTimeoutSecs** to extend the script execution timeout value.
144+
145+
#### Set-CMClientSettingEndpointProtection
146+
147+
For more information, see [Set-CMClientSettingEndpointProtection](/powershell/module/configurationmanager/Set-CMClientSettingEndpointProtection).
148+
149+
**Non-breaking changes**
150+
151+
You can now specify the defender agent type with the new parameter **DefenderAgent**.
152+
153+
#### Set-CMComplianceSettingWqlQuery
154+
155+
For more information, see [Set-CMComplianceSettingWqlQuery](/powershell/module/configurationmanager/Set-CMComplianceSettingWqlQuery).
156+
157+
**Non-breaking changes**
158+
159+
When using this cmdlet, you can now specify $null value to the parameter **WhereClause**.
160+
161+
#### Set-CMClientSettingComputerRestart
162+
163+
For more information, see [Set-CMClientSettingComputerRestart](/powershell/module/configurationmanager/Set-CMClientSettingComputerRestart).
164+
165+
**Non-breaking changes**
166+
167+
- Extended the validation range of the parameters **CountdownMins** and **RebootLogoffNotificationCountdownMins** to align with the console.
168+
- Added new parameters **CountdownIntervalMins** and **ServerRebootLowRight** to align with the console.
169+
- Fixed a property name issue for the parameter **NoRebootEnforcement**.
170+
171+
#### Set-CMNotification
172+
173+
For more information, see [Set-CMNotification](/powershell/module/configurationmanager/Set-CMNotification)
174+
175+
**Non-breaking changes**
176+
177+
New alias **InputObject** has been added for parameter **NotificationTasks** which now supports pipeline.
178+
179+
### Module changes
180+
181+
The following folder-related cmdlets now support automatic deployment rules:
182+
183+
- [Get-CMFolder](/powershell/module/configurationmanager/get-cmfolder)
184+
- [New-CMFolder](/powershell/module/configurationmanager/new-cmfolder)
185+
- [Remove-CMFolder](/powershell/module/configurationmanager/remove-cmfolder)
186+
- [Set-CMFolder](/powershell/module/configurationmanager/set-cmfolder)
187+
- [Move-CMObject](/powershell/module/configurationmanager/move-cmobject)
188+
- [Add-CMObjectSecurityScope](/powershell/module/configurationmanager/Add-CMObjectSecurityScope)
189+
- [Remove-CMObjectSecurityScope](/powershell/module/configurationmanager/Remove-CMObjectSecurityScope)

0 commit comments

Comments
 (0)