摘要
本文介绍 Microsoft System Center 2012 R2 Configuration Manager的累积更新 3 (CU3) 中修复的Windows PowerShell问题。 以下 Microsoft 知识库文章介绍了其他 CU3 修补程序:
2994331 2012 System Center R2 Configuration Manager累积更新 3 的说明
已修复的问题
-
Get-CMAssetIntelligenceSynchronizationPoint返回一个 null 对象,当与 Remove-CMAssetIntelligenceSynchronizationPoint 一起使用时,这会导致 NullReferenceException 错误。
-
New-CMTaskSequence不接受 -InstallationProductKey 参数的 null 或空值。
-
Set-CMDistributionPoint cmdlet 将忽略 CertificateExpirationTimeUtc 参数。
-
New-CMTaskSequenceMedia与 CaptureMediaOption 参数一起使用时返回 InvalidOperationException 错误。
-
当嵌套集合粘贴到 -MigrationCollection 参数时,New-CMMigrationJob cmdlet 将返回如下所示的错误:
New-CMMigrationJob:选择至少一个集合以继续
-
Add-CMReportingServicePoint cmdlet 未正确创建 Reporting Services 点。
-
引用由Get-CMDevice cmdlet 返回的对象的 cmdlet 触发错误,如下所示:
InvalidArgument: (:) [New-CMDeviceVariable], ParameterBindingArgumentTransformationException
-
New-CMMigrationJob cmdlet 的 -EnableProgramAfterAdvertisementMigrated 参数不启用指定的程序。
-
Set-CMAccount与 inputObject 参数一起使用时返回 NullReferenceException 错误。
-
Get-CMBaselineXMLDefinition在没有参数的情况下运行时不返回任何结果。 现在需要 -Name 参数。
-
Update-CMClientStatus -强制会导致在客户端上显示确认窗口。
-
Set-CMWindowsFirewallPolicy指定 -Priority 参数时返回异常。
-
将New-CMSecondarySite与 CopySQLServerExpressOnSecondarySite 参数一起使用时,会错误地创建辅助站点数据库名称。
-
即使成功导入指定的驱动程序,Import-CMDriver始终返回“无效的对象路径”。
-
常见的 *-Item 参数(如 -WhatIf)在 CMSite PSDrive 中无法按预期运行。
-
New-CMComputerAssociation返回 NullReferenceException 错误。
-
New-CMTaskSequenceMedia与 -CaptureMediaOption 参数一起使用时返回 InvalidOperationException 错误。
-
New-CMSiteSystemServer导致 PowerShell 意外退出。 http://support.microsoft.com/kb/2984644
其他更改
-
修改了多个 cmdlet,以便更好地处理结果集) 数千个对象 (大型对象。
-
Start-CMApplicationDeployment类型在包含许多 (75 个以上的) 应用程序的环境中运行得更快。
-
-
修改了多个 cmdlet 以支持某些参数的通配符,包括以下内容:
-
Get-CMDeploymentPackage
-
Get-CMDeploymentType
-
Get-CMSiteMaintenanceTask
-
Get-CMStatusReportingComponent
-
Remove-CMDeploymentType
-
Remove-CMDeployment
-
Remove-CMUserCollectionFromDistributionPointGroup
-
Remove-CMDeviceCollectionFromDistributionPointGroup
-
-
Set-CMDeploymentType不再允许将 –ContentLocation 与 AppV 或 AppV5X 部署类型配合使用。
-
Set-CMDeviceCollection现在支持使用新的 -RefreshSchedule 和 –RefreshType 参数设置集合计划。
-
Set-CMDeviceOwnership现在在设备名称不存在的情况下返回明确的错误消息。
-
将修改多个 cmdlet 以支持对象管道。 其中包括用于创建、设置和删除网站角色、应用程序、集合、程序和包的 cmdlet。
已知问题
-
Set-CMDistributionPoint –ComputersUsePxePassword 参数可能无法在数据库中保存有效密码。