File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ Function Get-VMApplicationInfo {
32
32
$appUpdateVersion = $appInfo.updateCounter
33
33
34
34
if ($UniqueOnly ) {
35
- $results = $appInfo.applications | Sort-Object - Property a - Unique| FT @ {Name = " Application" ;e = {$_.a }}, @ {Name = " Version" ;e = {$_.v }}
35
+ $results = $appInfo.applications | Sort-Object - Property a - Unique| Select-Object @ {Name = " Application" ;e = {$_.a }}, @ {Name = " Version" ;e = {$_.v }}
36
36
} else {
37
- $results = $appInfo.applications | Sort-Object - Property a | FT @ {Name = " Application" ;e = {$_.a }}, @ {Name = " Version" ;e = {$_.v }}
37
+ $results = $appInfo.applications | Sort-Object - Property a | Select-Object @ {Name = " Application" ;e = {$_.a }}, @ {Name = " Version" ;e = {$_.v }}
38
38
}
39
39
40
- Write-host - ForegroundColor Green " Application Discovery Time: $ ( $appInfo.publishTime ) "
40
+ Write-Verbose " Application Discovery Time: $ ( $appInfo.publishTime ) "
41
41
if ($Output -eq " CSV" ) {
42
42
$fileOutputName = " $ ( $VM.name ) -version-$ ( $appUpdateVersion ) -apps.csv"
43
43
@@ -52,4 +52,4 @@ Function Get-VMApplicationInfo {
52
52
$results
53
53
}
54
54
}
55
- }
55
+ }
You can’t perform that action at this time.
0 commit comments