Public/Functions/Catalogs/Child/Get-HPAccessoryCatalog.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 |
<#
.SYNOPSIS Returns the 'Accessories Firmware and Driver' Component of the HP System Catalog .DESCRIPTION Returns the 'Accessories Firmware and Driver' Component of the HP System Catalog .LINK https://github.com/OSDeploy/OSD/tree/master/Docs .NOTES #> function Get-HPAccessoryCatalog { [CmdletBinding()] param ( #Limits the results to match the current system [System.Management.Automation.SwitchParameter] $Compatible ) if ($PSBoundParameters.ContainsKey('Compatible')) { Get-HPSystemCatalog -Component 'Accessories Firmware and Driver' -Compatible | Sort-Object -Property CreationDate -Descending } else { Get-HPSystemCatalog -Component 'Accessories Firmware and Driver' | Sort-Object -Property CreationDate -Descending } } |