Resources/Trash/Get-MyDellApplications.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function Get-MyDellApplications {
    [CmdletBinding()]
    param ()
    #=================================================
    # Current System Information
    #=================================================
    $SystemSKU = $((Get-WmiObject -Class Win32_ComputerSystem).SystemSKUNumber).Trim()
    $BIOSVersion = $((Get-WmiObject -Class Win32_BIOS).SMBIOSBIOSVersion).Trim()

    $GetDellCatalogPC = Get-DellSystemCatalog -UpdateType Application

    $GetMyDellApplications = $GetDellCatalogPC | Where-Object {$_.SupportedSystemID -contains $SystemSKU}

    Return $GetMyDellApplications | Sort-Object ReleaseDate -Descending
}