I've found that if you use Get-CMDevice to get many objects it can take up to 20 minutes to return a result. It may look like it's not working but it is collecting data from SCCM, Just not fast like when you use the WMI query.
Get-CMDevice -CollectionName 'My Test Collection'
If you find this article useful please leave me a comment.
Monday, December 08, 2014
Get-CMDevice slow to retrieve many objects
Labels:
Configmgr
,
Get-CMDevice
,
Powershell
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment