Microsoft just released the Service Pack 1 for System Center Configuration Manager 2012.
AND!! FINALLY comes with its own PowerShell Module !!! Woot Woot :-)
Once the SP1 installed, all you need is PowerShell 3.0.
Already included in Windows Server 2012 or can be installed on Windows Server 2008
IMPORT THE MODULE
Import-Module "C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1"
CMDLETS
Add-CMBoundaryToGroup
Add-CMDeviceAffinityToUser
Add-CMDeviceCollectionDirectMembershipRule
Add-CMDeviceCollectionExcludeMembershipRule
Add-CMDeviceCollectionIncludeMembershipRule
Add-CMDeviceCollectionQueryMembershipRule
Add-CMDeviceCollectionToDistributionPointGroup
Add-CMDistributionPointToGroup
Add-CMSoftwareUpdateToGroup
Add-CMUserAffinityToDevice
Add-CMUserCollectionDirectMembershipRule
Add-CMUserCollectionExcludeMembershipRule
Add-CMUserCollectionIncludeMembershipRule
Add-CMUserCollectionQueryMembershipRule
Add-CMUserCollectionToDistributionPointGroup
Approve-CMApprovalRequest
Approve-CMDevice
Approve-CMUserDeviceAffinityRequest
Block-CMCertificate
Block-CMConflictingRecord
Block-CMDevice
Clear-CMAmtAuditLog
Clear-CMComponentStatusMessage
Clear-CMOperatingSystemImageUpdateSchedule
Clear-CMPxeDeployment
Clear-CMSiteStatusMessage
Copy-CMSecurityRole
Copy-CMUserDataAndProfileConfigurationItem
Deny-CMApprovalRequest
Deny-CMUserDeviceAffinityRequest
Disable-CMAlert
Disable-CMAmtAuditLog
Disable-CMBaseline
Disable-CMDriver
Disable-CMPackage
Disable-CMSoftwareMeteringRule
Disable-CMSoftwareUpdateAutoDeploymentRule
Disable-CMStatusFilterRule
Disable-CMTaskSequence
Enable-CMAlert
Enable-CMAmtAuditLog
Enable-CMBaseline
Enable-CMDriver
Enable-CMPackage
Enable-CMSoftwareMeteringRule
Enable-CMSoftwareUpdateAutoDeploymentRule
Enable-CMStatusFilterRule
Enable-CMTaskSequence
Export-CMApplication
Export-CMBaseline
Export-CMConfigurationItem
Export-CMSecurityRole
Get-CMAccessAccount
Get-CMAccount
Get-CMActiveDirectoryForest
Get-CMActiveDirectorySite
Get-CMAddress
Get-CMAdministrativeUser
Get-CMAlert
Get-CMAlertSubscription
Get-CMAntimalwarePolicy
Get-CMApplication
Get-CMApplicationCatalogWebServicePoint
Get-CMApplicationCatalogWebsitePoint
Get-CMApplicationRevisionHistory
Get-CMApprovalRequest
Get-CMAppVVirtualEnvironment
Get-CMAssetIntelligenceCatalogItem
Get-CMAssetIntelligenceSynchronizationPoint
Get-CMBaseline
Get-CMBaselineSummarizationSchedule
Get-CMBaselineXMLDefinition
Get-CMBootImage
Get-CMBoundary
Get-CMBoundaryGroup
Get-CMClientPushInstallation
Get-CMClientSetting
Get-CMClientStatusSetting
Get-CMClientStatusUpdateSchedule
Get-CMCloudDistributionPoint
Get-CMCollectionMembershipEvaluationComponent
Get-CMComponentStatusMessage
Get-CMComponentStatusSetting
Get-CMConfigurationItem
Get-CMConfigurationItemHistory
Get-CMConfigurationItemXMLDefinition
Get-CMConflictingRecord
Get-CMDatabaseReplicationStatus
Get-CMDeployment
Get-CMDeploymentPackage
Get-CMDeploymentStatus
Get-CMDeploymentType
Get-CMDevice
Get-CMDeviceCollection
Get-CMDeviceCollectionDirectMembershipRule
Get-CMDeviceCollectionExcludeMembershipRule
Get-CMDeviceCollectionIncludeMembershipRule
Get-CMDeviceCollectionQueryMembershipRule
Get-CMDeviceCollectionVariable
Get-CMDiscoveryMethod
Get-CMDistributionPoint
Get-CMDistributionPointGroup
Get-CMDriver
Get-CMDriverPackage
Get-CMEndpointProtectionPoint
Get-CMEndpointProtectionSummarizationSchedule
Get-CMEnrollmentPoint
Get-CMEnrollmentProxyPoint
Get-CMExchangeServer
Get-CMFallbackStatusPoint
Get-CMGlobalCondition
Get-CMHardwareRequirement
Get-CMInventoriedSoftware
Get-CMIPSubnet
Get-CMManagementPoint
Get-CMManagementPointComponent
Get-CMOperatingSystemImage
Get-CMOperatingSystemInstaller
Get-CMOutOfBandManagementComponent
Get-CMOutOfBandServicePoint
Get-CMPackage
Get-CMProgram
Get-CMReportingServicePoint
Get-CMSecurityRole
Get-CMSecurityScope
Get-CMSite
Get-CMSiteInstallStatus
Get-CMSiteMaintenanceTask
Get-CMSoftwareMeteringRule
Get-CMSoftwareMeteringSetting
Get-CMSoftwareUpdate
Get-CMSoftwareUpdateAutoDeploymentRule
Get-CMSoftwareUpdateBasedClientInstallation
Get-CMSoftwareUpdateDeploymentPackage
Get-CMSoftwareUpdateGroup
Get-CMSoftwareUpdateLicense
Get-CMSoftwareUpdatePoint
Get-CMSoftwareUpdatePointComponent
Get-CMSoftwareUpdateSummarizationSchedule
Get-CMStateMigrationPoint
Get-CMStatusFilterRule
Get-CMStatusMessageQuery
Get-CMSystemHealthValidationPoint
Get-CMSystemHealthValidatorPointComponent
Get-CMTaskSequence
Get-CMUser
Get-CMUserCollection
Get-CMUserCollectionDirectMembershipRule
Get-CMUserCollectionExcludeMembershipRule
Get-CMUserCollectionIncludeMembershipRule
Get-CMUserCollectionQueryMembershipRule
Get-CMUserDataAndProfileConfigurationItem
Get-CMUserDataAndProfileConfigurationItemXmlDefinition
Get-CMUserDeviceAffinity
Get-CMUserDeviceAffinityRequest
Get-CMWindowsFirewallPolicy
Import-CMCertificate
Import-CMSecurityRole
Install-CMClient
Invoke-CMAmtProvisioningDiscovery
Invoke-CMBaselineSummarization
Invoke-CMDeploymentSummarization
Invoke-CMDeviceCollectionUpdate
Invoke-CMEndpointProtectionScan
Invoke-CMEndpointProtectionSummarization
Invoke-CMForestDiscovery
Invoke-CMRemoteControl
Invoke-CMSecondarySiteUpgrade
Invoke-CMSoftwareUpdateAutoDeploymentRule
Invoke-CMSoftwareUpdateSummarization
Invoke-CMUserCollectionUpdate
New-CMAccessAccount
New-CMActiveDirectoryForest
New-CMAlertSubscription
New-CMAssetIntelligenceCatalogItem
New-CMBootImage
New-CMBoundary
New-CMBoundaryGroup
New-CMClientSetting
New-CMDeviceCollection
New-CMDeviceCollectionVariable
New-CMDistributionPointGroup
New-CMDriverPackage
New-CMHardwareRequirement
New-CMOperatingSystemImage
New-CMOperatingSystemInstaller
New-CMPackage
New-CMSecurityScope
New-CMSoftwareMeteringRule
New-CMSoftwareUpdateGroup
New-CMUserCollection
Remove-CMAccessAccount
Remove-CMAccount
Remove-CMActiveDirectoryForest
Remove-CMAddress
Remove-CMAdministrativeUser
Remove-CMAlert
Remove-CMAlertSubscription
Remove-CMAmtProvisioningData
Remove-CMAntimalwarePolicy
Remove-CMApplication
Remove-CMApplicationCatalogWebServicePoint
Remove-CMApplicationRevisionHistory
Remove-CMAppVVirtualEnvironment
Remove-CMAssetIntelligenceCatalogItem
Remove-CMAssetIntelligenceSynchronizationPoint
Remove-CMBaseline
Remove-CMBootImage
Remove-CMBoundary
Remove-CMBoundaryFromGroup
Remove-CMBoundaryGroup
Remove-CMClientSetting
Remove-CMCloudDistributionPoint
Remove-CMConfigurationItem
Remove-CMDeployment
Remove-CMDeploymentType
Remove-CMDevice
Remove-CMDeviceAffinityFromUser
Remove-CMDeviceCollection
Remove-CMDeviceCollectionDirectMembershipRule
Remove-CMDeviceCollectionExcludeMembershipRule
Remove-CMDeviceCollectionFromAdministrativeUser
Remove-CMDeviceCollectionFromDistributionPointGroup
Remove-CMDeviceCollectionIncludeMembershipRule
Remove-CMDeviceCollectionQueryMembershipRule
Remove-CMDeviceCollectionVariable
Remove-CMDistributionPoint
Remove-CMDistributionPointFromGroup
Remove-CMDistributionPointGroup
Remove-CMDriver
Remove-CMDriverPackage
Remove-CMEndpointProtectionPoint
Remove-CMEnrollmentPoint
Remove-CMEnrollmentProxyPoint
Remove-CMExchangeServer
Remove-CMFallbackStatusPoint
Remove-CMGlobalCondition
Remove-CMHardwareRequirement
Remove-CMManagementPoint
Remove-CMOperatingSystemImage
Remove-CMOperatingSystemInstaller
Remove-CMOutOfBandServicePoint
Remove-CMPackage
Remove-CMProgram
Remove-CMReportingServicePoint
Remove-CMSecondarySite
Remove-CMSecurityRole
Remove-CMSecurityRoleFromAdministrativeUser
Remove-CMSecurityScope
Remove-CMSecurityScopeFromAdministrativeUser
Remove-CMSoftwareMeteringRule
Remove-CMSoftwareUpdateAutoDeploymentRule
Remove-CMSoftwareUpdateDeploymentPackage
Remove-CMSoftwareUpdateGroup
Remove-CMSoftwareUpdatePoint
Remove-CMStateMigrationPoint
Remove-CMStatusFilterRule
Remove-CMStatusMessageQuery
Remove-CMSystemHealthValidationPoint
Remove-CMTaskSequence
Remove-CMUser
Remove-CMUserAffinityFromDevice
Remove-CMUserCollection
Remove-CMUserCollectionDirectMembershipRule
Remove-CMUserCollectionExcludeMembershipRule
Remove-CMUserCollectionFromAdministrativeUser
Remove-CMUserCollectionFromDistributionPointGroup
Remove-CMUserCollectionIncludeMembershipRule
Remove-CMUserCollectionQueryMembershipRule
Remove-CMUserDataAndProfileConfigurationItem
Remove-CMWindowsFirewallPolicy
Restore-CMApplicationRevisionHistory
Resume-CMApplication
Save-CMEndpointProtectionDefinition
Set-CMAccessAccount
Set-CMActiveDirectoryForest
Set-CMAlert
Set-CMAlertSubscription
Set-CMAntimalwarePolicy
Set-CMApplication
Set-CMApprovalRequest
Set-CMAppVVirtualEnvironment
Set-CMAssetIntelligenceCatalogItem
Set-CMAssetIntelligenceSynchronizationPoint
Set-CMBaseline
Set-CMBaselineSummarizationSchedule
Set-CMBootImage
Set-CMBoundary
Set-CMBoundaryGroup
Set-CMClientSetting
Set-CMClientStatusSetting
Set-CMClientStatusUpdateSchedule
Set-CMCloudDistributionPoint
Set-CMCollectionMembershipEvaluationComponent
Set-CMConfigurationItem
Set-CMDeploymentType
Set-CMDeviceCollection
Set-CMDeviceCollectionVariable
Set-CMDistributionPoint
Set-CMDistributionPointGroup
Set-CMDriverPackage
Set-CMEndpointProtectionSummarizationSchedule
Set-CMFallbackStatusPoint
Set-CMGlobalCondition
Set-CMHardwareRequirement
Set-CMInventoriedSoftware
Set-CMOperatingSystemImage
Set-CMOperatingSystemInstaller
Set-CMOutOfBandServicePoint
Set-CMPackage
Set-CMSecurityRole
Set-CMSecurityScope
Set-CMSite
Set-CMSoftwareMeteringRule
Set-CMSoftwareMeteringSetting
Set-CMSoftwareUpdate
Set-CMSoftwareUpdateDeploymentPackage
Set-CMSoftwareUpdateGroup
Set-CMSoftwareUpdateSummarizationSchedule
Set-CMStatusFilterRule
Set-CMStatusMessageQuery
Set-CMTaskSequence
Set-CMUserCollection
Set-CMWindowsFirewallPolicy
Start-CMCloudDistributionPoint
Start-CMDeployment
Stop-CMCloudDistributionPoint
Suspend-CMAlert
Suspend-CMApplication
Sync-CMExchangeServer
Sync-CMSoftwareUpdate
Unblock-CMCertificate
Unblock-CMDevice
Undo-CMInventoriedSoftware
Update-CMApplicationStatistic
Update-CMCertificate
Update-CMClientStatus
Update-CMDistributionPoint
great post
ReplyDelete