Public/Catalog/Get-CatalogDellApplication.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<#
.SYNOPSIS
Returns the Application Component of the Dell System Catalog
 
.DESCRIPTION
Returns the Application Component of the Dell System Catalog
 
.PARAMETER Compatible
If you have a Dell System, this will filter the results based on your
ComputerSystem SystemSKUNumber
 
.LINK
https://osd.osdeploy.com/module/functions
 
.NOTES
#>

function Get-CatalogDellApplication {
    [CmdletBinding()]
    param (
        [switch]$Compatible
    )
    
    if ($PSBoundParameters.ContainsKey('Compatible')) {
        Get-CatalogDellSystem -Compatible -Component Application | Sort-Object -Property ReleaseDate -Descending
    }
    else {
        Get-CatalogDellSystem -Component Application | Sort-Object -Property ReleaseDate -Descending
    }
}