Skip to content

Commit

Permalink
Create How to list Configuration Manager Client Cache information
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaidja committed Jul 14, 2017
1 parent 24baea3 commit 77369ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions How to list Configuration Manager Client Cache information
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#Example 1
$CMObject = New-Object -ComObject "UIResource.UIResourceMgr"
$CMCacheObjects = $CMObject.GetCacheInfo()
$CMCacheObjects.GetCacheElements()

#Example 2
$CacheInfoQuery = Get-WmiObject -Namespace Root\ccm\SoftMgmtAgent -Class CacheInfoEx
$CacheInfoQuery

0 comments on commit 77369ac

Please sign in to comment.