Update modules from WinAPI
This commit is contained in:
parent
31e13d4de1
commit
320872b22c
5 changed files with 192 additions and 165 deletions
|
|
@ -1,8 +1,14 @@
|
|||
function Get-Software {
|
||||
Get-CimInstance Win32_Product | Select-Object Name,
|
||||
Version,
|
||||
Vendor,
|
||||
InstallDate,
|
||||
InstallLocation,
|
||||
InstallSource
|
||||
function Get-Software {
|
||||
Get-CimInstance Win32_Product | Sort-Object -Descending InstallDate | Select-Object Name,
|
||||
Version,
|
||||
Vendor,
|
||||
@{
|
||||
name="InstallDate";expression={
|
||||
[datetime]::ParseExact($_.InstallDate, "yyyyMMdd", $null).ToString("dd.MM.yyyy")
|
||||
}
|
||||
},
|
||||
InstallLocation,
|
||||
InstallSource,
|
||||
PackageName,
|
||||
LocalPackage
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue