最新分支 1702 的 Configuration Manager Cmdlet 連結庫變更
注意事項
System Center 設定最新分支 1610 是這些變更的基準。 如需詳細資訊,請參閱 最新分支 1610 的 Configuration Manager Cmdlet 連結庫變更 。
重要變更
文件庫更新
如需最新的 Cmdlet 連結庫檔,請參閱 ConfigurationManager 模組參考。
已移除 Cmdlet
不再支援下列 Cmdlet 並已移除:
Add-CMNokiaDeploymentType
Add-CMOutOfBandServicePoint
Add-CMSystemHealthValidatorPoint
Clear-CMAmtAuditLog
Disable-CMAmtAuditLog
Enable-CMAmtAuditLog
Enable-CMAutomaticAmtProvisioning
Get-CMAutomaticAmtProvisioningStatus
Get-CMCmdletUpdateCheck
Get-CMOutOfBandManagementComponent
Get-CMOutOfBandServicePoint
Get-CMSystemHealthValidatorPoint
Get-CMSystemHealthValidatorPointComponent
New-CMWiredProfileObject
New-CMWirelessProfileObject
Remove-CMAmtProvisioningData
Remove-CMNokiaDeploymentType
Remove-CMOutOfBandServicePoint
Remove-CMSystemHealthValidatorPoint
Send-CMCmdletUpdateCheck
Set-CMCmdletUpdateCheck
Set-CMNokiaDeploymentType
Set-CMOutOfBandManagementComponent
Set-CMOutOfBandServicePoint
Set-CMSystemHealthValidatorPointComponent
Update-CMAmtProvisioning
支援使用邏輯名稱匯入 ConfigurationManager 模組
現在支援使用邏輯名稱或路徑匯入 ConfigurationManager 模組。
如果 C:\Program Files (x86) \Microsoft Configuration Manager\AdminConsole\bin 或對等路徑新增至 PSModulePath 變數,則可以使用下列專案:
Import-Module ConfigrationManager
否則,可以使用下列專案:
Import-Module 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager'
已知問題
這些是 Cmdlet 連結庫的已知問題,在此版本中尚未解決。
Get-CMAadConditionalAccessPolicy 和 Set-CMAadConditionalAccessPolicy
這些 Cmdlet 需要 64 位 PowerShell 環境。
因應措施
- 無
新的 Cmdlet
這些是此版本新增的 Cmdlet,可新增新功能或增強現有 Cmdlet 的功能。
iOS 註冊配置檔
已新增 Cmdlet 來設定 iOS 註冊設定檔。
Get-CMIosEnrollmentProfile
New-CMIosEnrollmentProfile
Remove-CMIosEnrollmentPRofile
Set-CMIosEnrollmentProfile
雲端管理閘道 Cmdlet
已新增 Cmdlet 來設定雲端管理閘道月臺角色。
Add-CMCloudManagementGatewayConnectionPoint
Get-CMCloudManagementGateway
Get-CMCloudManagementGatewayConnectionPoint
New-CMCloudManagementGateway
Remove-CMCloudManagementGateway
Remove-CMCloudManagementGatewayConnectionPoint
Set-CMCloudManagementGateway
Set-CMCloudManagementGatewayConnectionPoint
Start-CMCloudManagementGateway
Stop-CMCloudManagementGateway
數據倉儲服務點 Cmdlet
已新增 Cmdlet 來設定數據倉儲服務點月臺角色。
Add-CMDataWarehouseServicePoint
Get-CMDataWarehouseServicePoint
Remove-CMDataWarehouseServicePoint
Set-CMDataWarehouseServicePoint
部署 Cmdlet
已撰寫數個新的 Cmdlet,並針對部署和部署監視案例進行改善。
內容發佈狀態
Get-CMDistributionStatus 是新的 Cmdlet,可用來取得任何內容對象的發佈狀態,例如應用程式、設定或程式套件。
取得部署
已建立 Cmdlet 來取得與實際部署相關聯的物件。
Get-CMApplicationDeployment
Get-CMBaselineDeployment
Get-CMConfigurationPolicyDeployment
Get-CMPackageDeployment
Get-CMSoftwareUpdateDeployment
Get-CMTaskSequenceDeployment
部署建立
已建立 Cmdlet 來建立新的部署。 這些 Cmdlet 會取代既有的 Start-CM*Deployment Cmdlet。
New-CMApplicationDeployment
New-CMBaselineDeployment
New-CMConfigurationPolicyDeployment
New-CMPackageDeployment
New-CMSoftwareUpdateDeployment
New-TaskSequenceDeployment
改善的物件管線支援
Set-CM*Deployment、Remove-CM*Deployment 和 Get-CM*DeploymentStatus 現在完全支持物件管線。
Start-CM<功能>部署 Cmdlet 已被取代
下列 Start-CM< 功能>部署 Cmdlet 已被取代。 取代的 Cmdlet 在參數名稱上可能會有所不同,但應該具有相同的功能,而且在某些情況下會有所改善。
Start-CMApplicationDeployment (取代為 New-CMApplicationDeployment)
Start-CMPackageDeployment (取代為 New-CMPackageDeployment)
Start-CMBaselineDeployment (取代為 New-CMBaselineDeployment)
Start-CMConfigurationPolicyDeployment (取代為 New-CMConfigurationPolicyDeployment)
Start-CMTaskSequenceDeployment (取代為 New-CMTaskSequenceDeployment)
Start-CMSoftwareUpdateDeployment (取代為 New-CMSoftwareUpdateDeployment)
Get-CMResultantSettings
此 Cmdlet 會擷取集合、裝置或使用者的結果客戶端設定。
操作系統升級套件更新
已新增新的 Cmdlet 來建立和修改作業系統升級套件更新排程。
Clear-CMOperatingSystemUpgradeUpdateSchedule
Get-CMOperatingSystemUpgradeUpdateSchedule
New-CMOperatingSystemUpgradeUpdateSchedule
Remove-CMOperatingSystemUpgradeUpdateSchedule
Remove-CMSoftwareUpdateFromGroup
此 Cmdlet 會從軟體更新群組中移除軟體更新。
Cmdlet 變更
已對此版本的現有 Cmdlet 進行下列變更。 變更可能是新功能、錯誤修正或取代,而且可能會中斷。 如果您使用本節所列的其中一個 Cmdlet 或功能區域,請仔細檢閱變更,以了解這些變更可能會對您的使用造成何種影響。
其他變更
已修正的錯誤
Cmdlet 架構可能無法正確取用某些提供者類別所使用的大型SMS_EmbeddedPropertyList對象,導致取得或設定這些值時發生未定義的行為。
反惡意代碼原則或客戶端設定的某些變更組合可能會導致產生無效的原則。 處於此狀態時,SMS 提供者會傳回「實例不是有效的用戶端代理程式設定」錯誤。
用於設定管理點和軟體更新點的 Cmdlet 已新增 EnableCloudGateway 參數,可讓這些角色與雲端管理閘道搭配使用。
月臺維護時段設定
非中斷性變更
CMMaintenanceWindow Cmdlet 現在支援設定月臺的維護時段。 Get-CMSite 的輸出可以管線傳送至 New、Remove 或 Set-CMMaintenanceWindow,以設定月臺的維護期間。
Add-CMDeploymentType
重大變更
已移除建立 Nokia 部署類型的支援。
Add-CMDeviceAfinityToUser
已修正的錯誤
Cmdlet 可能會意外失敗,並出現 ObjectNotFound 錯誤。
Add-CMDistributionPoint
已修正的錯誤
Cmdlet 可讓您在未啟用 HTTPS 時,將發布點設定為支援因特網。
非中斷性變更
已新增 AllowProxyTraffic 參數。
先前未使用的 InstallInternetServer 參數現在會變更發佈點設定。
取代
UseComputerAccount 參數已被取代。 若要使用電腦帳戶,請將 UserName 設定為 $null。
Add-CMEnrollmentPoint
已修正的錯誤
註冊點角色在建立的物件中缺少組態設定。
Add-CMEnrollmentProxyPoint
非中斷性變更
已新增 ServiceHost 參數以允許指定遠端註冊點。
Add-CMIntuneSubscription
已修正的錯誤
ContactEmail 參數不能設定為 null 或空白值。
Add-CMMulticastServicePoint
已修正的錯誤
UserName 不會驗證網域\使用者格式是否正確。
StartUdpPort 和 EndUdpPort 參數不會驗證特定不正確設定的值。
StartIPAddress 和 EndIPAddress 參數不會驗證特定不正確設定的值。
非中斷性變更
已新增UseAnyRangeIP 參數。
取代
不再支援 ClientTransferRate 參數。
Approve-CMUserDeviceAffinityRequest
已修正的錯誤
Cmdlet 允許核准先前處理過的同質要求。
Convert-CMSchedule
已修正的錯誤
InputObject 參數不接受管線排程物件。
Deny-CMUserDeviceAffinityRequest
已修正的錯誤
Cmdlet 允許拒絕先前處理過的同質要求。
Get-CMAlert
已修正的錯誤
無法擷取用戶端健康情況或端點保護警示。
Get-CMSiteStatusMessage
非中斷性變更
ComputerName、 Severity 和 SiteCode 參數現在接受數位值。
已新增 MessageId、 Module、 Component 和 FilterHashTable 參數,以進一步篩選。
所有以字串為基礎的篩選參數現在都接受通配符。
Get-CMWindowsEnrollmentProfilePackage
已修正的錯誤
無法在沒有參數的情況下指定 Cmdlet。
Import-CMComputerInformation
重大變更
如果匯入已經存在的記錄且未指定新的 MergeIfExist 參數,Cmdlet 將會失敗。
Import-CMDriver
已修正的錯誤
使用 ImportFolder 時 ,驅動程式套件可能會使用超出預期的空間。
Install-CMClient
非中斷性變更
已從 Get-CMDevice 和 Get-CMResource 新增管線物件的支援。
Invoke-CMRemoteControl
已修正的錯誤
Cmdlet 不接受來自 Get-CMSiteSystemServer 的管線物件。
如果站台系統伺服器不是用戶端計算機,則無法將目標設為遠端控制。
New-CMActiveDirectoryForest
非中斷性變更
已新增 UserName 參數以允許設定探索帳戶。
已 新增 AddPublishingSite 參數。
New-CMApplicationDeployment
非中斷性變更
已新增 UpdateSupersedence 參數。
New-CMBoundaryGroup
重大變更
FastLink 是 AddSiteSystemServer 參數中哈希表唯一支援的值。 已移除所有其他值的支援。
New-CMCertificateProfilePfx
已修正的錯誤
KeyStorageProvider 參數值可能不會如預期般套用至新建立的憑證配置檔。
New-CMGlobalCondition
重大變更
已移除建立 Nokia 全域條件的支援。
New-CMProgram
非中斷性變更
已 新增 AddSupportedOperatingSystemPlatform 參數。
New-CMSoftwareUpdateAutoDeploymentRule
已修正的錯誤
MicrosoftAsVendor 參數值可能無法套用至規則。
非中斷性變更
已新增 Vendor 參數以支援第三方修補程式。
已新增 GenerateFailureAlert 參數。
New-CMSoftwareUpdateDeployment
非中斷性變更
已新增 RequirePostRebootFullScan 參數。
New-CMStandaloneMedia
非中斷性變更
已新增 MediaStartDate 和 MediaExpirationDate 參數,以支持媒體到期。
已新增 應用程式、 DriverPackage 和 Package 參數,以新增其他媒體內容。
New-CMStatusMessageQuery
已修正的錯誤
建立的查詢可能不會出現在預期的系統管理員主控台位置。
New-CMWindowsEnrollmentProfile
已修正的錯誤
EnrollmentProxyPoint 參數可以設定為 Null 或空白值。
SiteCode 參數值可能會導致系統管理員主控台發生驗證錯誤。
Remove-CMResource
已修正的錯誤
拿掉資源並不會移除狀態移轉關聯。
Remove-CMWindowsEnrollmentProfilePackage
已修正的錯誤
執行 Cmdlet 時,可能會引發 AmbiguousParameterSet 錯誤。
Set-CMActiveDirectoryForest
非中斷性變更
已新增 UserName 參數以允許設定探索帳戶。
已 新增 AddPublishingSite 和 RemovePublishingSite 參數。
Set-CMAdvancedThreatProtectionPolicy
已修正的錯誤
增加或減少優先順序可能會導致傳回 ObjectNotFound 錯誤。
Set-CMAntimalwarePolicy
已修正的錯誤
WhatIf 可能不會顯示預期的原則名稱。
使用管線物件時,無法變更即時保護設定。
非中斷性變更
Cmdlet 現在會接受來自 Get-CMAntimalwarePolicy 的管線輸入。
Set-CMApplication
非中斷性變更
已 新增 AddSupportContact、 AddOwner、 RemoveSupportContact、 RemoveOwner、 ClearSupportContact 和 ClearOwner 參數,以支援就地修改支持聯繫人或擁有者。
Set-CMAppVVirtualEnvironment
已修正的錯誤
PassThru 不會傳回最新的物件。
Set-CMBaseline
已修正的錯誤
PassThru 不會傳回SMS_ConfigurationItem物件。
非中斷性變更
已新增 ClearRequiredConfigurationItem、 ClearProhibitedConfigurationItem、ClearOptionalConfigurationItem、ClearOSConfigurationItem、ClearSoftwareUpdate、ClearBaseline、RemoveRequiredConfigurationItem、RemoveOptionalConfigurationItem、RemoveProhibitedConfigurationItemRemoveOSConfigurationItem、RemoveSoftwareUpdate、RemoveBaseline、AddSoftwareUpdate 和 AddBaseline 參數。
Set-CMBoundaryGroup
重大變更
FastLink 是 AddSiteSystemServer 參數中哈希表唯一支援的值。 已移除所有其他值的支援。
Set-CMCertificateProfileTrustedRootCA
已修正的錯誤
使用物件管線可能會導致 ParameterBindingException 錯誤。
Set-CMClientPushInstallation
非中斷性變更
已 新增 AddAccount 和 RemoveAccount 參數,以支援用戶端推入帳戶的就地修改。
Set-CMClientSettingComputerAgent
已修正的錯誤
如果 EnableHealthAttestation 或 UseOnPremisesHealthAttestation 設定為 true,則不需要 HealthAttestationUrl 參數值。
Set-CMComputerAssociation
非中斷性變更
已新增 MigrationId 參數。
Set-CMDeploymentType
重大變更
已移除修改 Nokia 部署類型的支援。
Set-CMDiscoveryMethod
已修正的錯誤
PollingSchedule 值可能無法正確套用至發現方法。
Set-CMDistributionPoint
已修正的錯誤
Cmdlet 可讓您在未啟用 HTTPS 時,將發布點設定為支援因特網。
非中斷性變更
已新增 AllowProxyTraffic 參數。
先前未使用的 InstallInternetServer 參數現在會變更發佈點設定。
取代
UseComputerAccount 參數已被取代。 若要使用電腦帳戶,請將 UserName 設定為 $null。
Set-CMEmailNotificationComponent
非中斷性變更
已新增 UseSsl 參數。
Set-CMFileReplicationRoute
已修正的錯誤
FileReplicationAccountName 參數不能設定為 Null 或空白值。
Set-CMHierarchySetting
非中斷性變更
已新增 ExclusionCollection、 ExclusionCollectionId、 ExclusionCollectionName 和 EnableExclusionCollection 參數來設定用戶端升級排除專案。
Set-CMIntuneSubscription
已修正的錯誤
ContactEmail 參數不能設定為 null 或空白值。
非中斷性變更
MaximumUserDevice 參數現在支援介於 1 到 15 之間的值。
Set-CMIntuneSubscriptionWindowsPhoneProperty
已修正的錯誤
Cmdlet 可能會意外失敗,並出現 AetCleanupFailure 錯誤。
Set-CMMaintenanceTask
已修正的錯誤
PassThru 參數不會傳回 物件。
Set-CMMulticastServicePoint
已修正的錯誤
UserName 參數不會驗證正確 DOMAIN\user 格式設定的值。
StartUdpPort 和 EndUdpPort 參數不會驗證特定不正確設定的值。
StartIPAddress 和 EndIPAddress 參數不會驗證特定不正確設定的值。
非中斷性變更
已新增UseAnyRangeIP 參數。
取代
不再支援 ClientTransferRate 參數。
Set-CMProgram
非中斷性變更
已 新增 AddSupportedOperatingSystemPlatform、 RemoveSupportedOperatingSystemPlatform 和 RunOnAnyPlatform 參數。
Set-CMSite
已修正的錯誤
RemoveClientRequestServiceType 可能無法正確移除指定的值。
非中斷性變更
已新增 SiteSystemCollectionBehavior、 ThresholdOfSelectCollectionMax、 ThresholdOfSelectCollectionByDefault 和 ThresholdOfSelectCollectionMax 參數來設定網站的裝置集合閾值。
Set-CMSiteSummaryTask
已修正的錯誤
PassThru 參數不會傳回 物件。
Set-CMSoftwareUpdateAutoDeploymentRule
已修正的錯誤
MicrosoftAsVendor 參數值可能無法套用至規則。
非中斷性變更
已新增 Vendor 參數以支援第三方修補程式。
已新增 GenerateFailureAlert 參數。
Set-CMSoftwareUpdateDeployment
非中斷性變更
已新增 RequirePostRebootFullScan 參數。
Set-CMSoftwareUpdatePointComponent
已修正的錯誤
EnableSynchronization 和 Schedule 參數使用方式可能會產生不正確的警告,或排程未如預期般修改。
Set-CMStatusFilterRule
已修正的錯誤
對 Priority 參數值所做的變更可能不適用於狀態篩選規則。
Set-CMTaskSequence
取代
UseDefaultText 參數已被取代。 若要使用預設文字,請將 CustomText 設定為 $null。
Set-CMWindowsEnrollmentProfile
已修正的錯誤
並非 所有參數集都提供授權參數。