PowerShell module for FleetDM API integration
Retrieves software inventory from FleetDM
Get-FleetSoftware [-Name <String>] [-Version <String>] [-Cve <String>] [-VulnerableOnly] [-Page <Int32>]
[-PerPage <Int32>] [-OrderKey <String>] [-OrderDirection <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Get-FleetSoftware -Id <Int32> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Gets software inventory information from FleetDM. Can retrieve all software or filter by various criteria. Software inventory includes installed applications, versions, and vulnerability information.
Get-FleetSoftware
Gets all software inventory
Get-FleetSoftware -Name "Chrome"
Gets all software with “Chrome” in the name
Get-FleetSoftware -VulnerableOnly
Gets only software with known vulnerabilities
Get-FleetSoftware -Cve "CVE-2023-1234"
Gets software affected by specific CVE
The specific software ID to retrieve
Type: Int32
Parameter Sets: ById
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Filter software by name (partial match)
Type: String
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Filter software by version
Type: String
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Filter software by CVE (Common Vulnerabilities and Exposures) ID
Type: String
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Only return software with known vulnerabilities
Type: SwitchParameter
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Page number for pagination (0-based)
Type: Int32
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Number of results per page (default: 100)
Type: Int32
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: 100
Accept pipeline input: False
Accept wildcard characters: False
Sort results by this field (name, hosts_count, cve_published, cve_resolved)
Type: String
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Sort direction (asc or desc)
Type: String
Parameter Sets: List
Aliases:
Required: False
Position: Named
Default value: Asc
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.