Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What PowerShell commands will I need to know?
- 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.
- • Sync-AppvPublishingServer 1
- o This will force the AppV client to re-sync with the publishing server, and pull down any new packages that are available
- • Get-AppvClientPackage
- o This will list all AppV packages currently available to the machine / user, and their status:
- • PackageId : d24c3bdd-8fad-44d3-998c-933f8f053682
- • VersionId : 8036276e-7f9d-4672-b7de-165cb94f4d71
- • Name : Microsoft Office 15 ProPlusVolume_en-us_x86
- • Version : 15.0.4569.1508
- • Path : \\echristus\ch\ConfigMgr\Software Source Files\Microsoft\MS_Office_2013_Pro_AppV\ProPlusVolume_en-us_x86.appv
- • IsPublishedToUser : True
- • UserPending : False
- • IsPublishedGlobally : False
- • GlobalPending : False
- • InUse : True
- • InUseByCurrentUser : True
- • PackageSize : 2152633351
- • PercentLoaded : 4
- • IsLoading : False
- • HasAssetIntelligence : True
- o Values useful to you:
- Package and Version IDs
- • These will be used if you need to interact with the specific package
- Name and Version
- InUse (ByCurrentUser)
- • These will tell you if the package is currently running. If it is, you will not be able to modify / reload it
- PercentLoaded
- • How much of the package is currently loaded on the local machine
- • Stop-AppvClientPackage -PackageId <id> -VersionId <id> -Global
- o Use this to force stop an AppV package that you need to work on
- • Remove-AppvClientPackage -PackageId <id> -VersionId <id>
- o Use this command to unload a package, such as when you need to refresh it.
- • Mount-AppvClientPackage -PackageId <id> -VersionId <id>
- o Use this to force a package to load (pull down from the server)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement