ISO: SCCM Hardware Inventory Function

Is there a built-in function to trigger a hardware inventory after an install\uninstall? If not are there any plans to add such, for example http://tompaps.blogspot.com/2013/01/invoke-inventory-sccm.html

Thanks.

Yes, such a function is already in the toolkit. It is called Invoke-SCCMTask.

Thank you. In case someone else needs acceptable IDs, which are not listed in the documentation.

‘HardwareInventory’
‘SoftwareInventory’
‘HeartbeatDiscovery’
‘SoftwareInventoryFileCollection’
‘RequestMachinePolicy’
‘EvaluateMachinePolicy’
‘LocationServicesCleanup’
‘SoftwareMeteringReport’
‘SourceUpdate’
‘PolicyAgentCleanup’
‘RequestMachinePolicy2’
‘CertificateMaintenance’
‘PeerDistributionPointStatus’
‘PeerDistributionPointProvisioning’
‘ComplianceIntervalEnforcement’
‘SoftwareUpdatesAgentAssignmentEvaluation’
‘UploadStateMessage’
‘StateMessageManager’
‘SoftwareUpdatesScan’
‘AMTProvisionCycle’
‘UpdateStorePolicy’
‘StateSystemBulkSend’
‘ApplicationManagerPolicyAction’
‘PowerManagementStartSummarizer’

I updated the documentation to include the names of the schedule IDs.