App-V, PowerShell Paul Fulbright App-V, PowerShell Paul Fulbright

PowerShell: Get command definition.

With 5.0 being so PowerShell friendly, if you spend a decent amount of time in the shell you probably noticed that the definition of commands tends to get truncated when you, say Get-Command Test-LegacyAppVPackage. Which returns something like this (apologies for the horrible formatting to follow):


CommandType	Name					Definition
-----------	----					----------
Cmdlet		Test-LegacyAppvPackage	Test-LegacyAppvPackage [-Source] <String[]> [-Ve...

CommandType	Name					Definition
-----------	----					----------
Cmdlet		Test-LegacyAppvPackage	Test-LegacyAppvPackage [-Source] <String[]> [-Ve...

You might find this trick handy (and for more than just this if you are clever).

$(Get-Command Test-LegacyAppVPackage).Definition

Which returns something like this:

Test-LegacyAppvPackage [-Source] <String[]> [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-WarningAction <Acti

onPreference>] [-ErrorVariable <String>] [-WarningVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]

Much better...

Read More
App-V Paul Fulbright App-V Paul Fulbright

App-V 5.0: Where did my logs go?

If you are looking for a log file for the App-V 5.0 beta you have probably gone through the Admin Guide to no avail. Thankfully they are using event logging now. For some reason this is listed under the sequencer section of the Admin Guide but not the client.

Read More
App-V Paul Fulbright App-V Paul Fulbright

App-V 5.0 Beta, out now.

In case you haven't seen it the 5.0 beta is live.

Read More