Advertisement
parabola949

Untitled

Jul 11th, 2014
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. What PowerShell commands will I need to know?
  2. At this time, CHTools is being upgraded to include some client interaction / troubleshooting. However, in the event that CHTools is unavailable, there are a few commands you may need to be able to run.
  3. • Sync-AppvPublishingServer 1
  4. o This will force the AppV client to re-sync with the publishing server, and pull down any new packages that are available
  5. • Get-AppvClientPackage
  6. o This will list all AppV packages currently available to the machine / user, and their status:
  7. • PackageId : d24c3bdd-8fad-44d3-998c-933f8f053682
  8. • VersionId : 8036276e-7f9d-4672-b7de-165cb94f4d71
  9. • Name : Microsoft Office 15 ProPlusVolume_en-us_x86
  10. • Version : 15.0.4569.1508
  11. • Path : \\echristus\ch\ConfigMgr\Software Source Files\Microsoft\MS_Office_2013_Pro_AppV\ProPlusVolume_en-us_x86.appv
  12. • IsPublishedToUser : True
  13. • UserPending : False
  14. • IsPublishedGlobally : False
  15. • GlobalPending : False
  16. • InUse : True
  17. • InUseByCurrentUser : True
  18. • PackageSize : 2152633351
  19. • PercentLoaded : 4
  20. • IsLoading : False
  21. • HasAssetIntelligence : True
  22. o Values useful to you:
  23.  Package and Version IDs
  24. • These will be used if you need to interact with the specific package
  25.  Name and Version
  26.  InUse (ByCurrentUser)
  27. • These will tell you if the package is currently running. If it is, you will not be able to modify / reload it
  28.  PercentLoaded
  29. • How much of the package is currently loaded on the local machine
  30. • Stop-AppvClientPackage -PackageId <id> -VersionId <id> -Global
  31. o Use this to force stop an AppV package that you need to work on
  32. • Remove-AppvClientPackage -PackageId <id> -VersionId <id>
  33. o Use this command to unload a package, such as when you need to refresh it.
  34. • Mount-AppvClientPackage -PackageId <id> -VersionId <id>
  35. o Use this to force a package to load (pull down from the server)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement