FleetDM-PowerShell

2.4.0

PowerShell module for the FleetDM REST API. Free-tier cmdlets cover hosts, reports, policies, scripts, configuration profiles, software inventory, and company-owned Android wipe. Fleet Premium cmdlets cover fleets, software installers and App Store apps, self-service, MDM, host secrets, setup experience, enrollment tokens, conditional access, host wipe for other platf
PowerShell module for the FleetDM REST API. Free-tier cmdlets cover hosts, reports, policies, scripts, configuration profiles, software inventory, and company-owned Android wipe. Fleet Premium cmdlets cover fleets, software installers and App Store apps, self-service, MDM, host secrets, setup experience, enrollment tokens, conditional access, host wipe for other platforms, OS updates, policy automations, calendar, and SSO JIT provisioning.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name FleetDM-PowerShell

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name FleetDM-PowerShell

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Jorgeasaurus. All rights reserved.

Package Details

Author(s)

  • Jorge Suarez

Tags

FleetDM MDM Security API DeviceManagement Osquery Windows Linux MacOS

Functions

Connect-FleetDM Disconnect-FleetDM New-FleetUser Get-FleetHost Remove-FleetHost Get-FleetQuery Invoke-FleetQuery Invoke-FleetSavedQuery Get-FleetPolicy New-FleetPolicy Set-FleetPolicy Remove-FleetPolicy Get-FleetSoftware Get-FleetSoftwareTitle New-FleetSoftwarePackage Set-FleetSoftwarePackage Save-FleetSoftwarePackage Get-FleetMaintainedApp Add-FleetMaintainedApp Get-FleetAppStoreApp Add-FleetAppStoreApp Set-FleetAppStoreApp Get-FleetPatchDeadline Set-FleetPatchDeadline Invoke-FleetDMMethod Get-FleetTeam New-FleetTeam Set-FleetTeam Remove-FleetTeam Add-FleetTeamUser Set-FleetTeamAgentOption Install-FleetSoftware Uninstall-FleetSoftware Get-FleetSoftwareInstall Remove-FleetSoftwarePackage Get-FleetSelfServiceCategory New-FleetSelfServiceCategory Set-FleetSelfServiceCategory Remove-FleetSelfServiceCategory Lock-FleetHost Unlock-FleetHost Invoke-FleetHostWipe Get-FleetHostWipeStatus Get-FleetHostSecret Reset-FleetHostSecret Clear-FleetHostPasscode Get-FleetMdmCommand Stop-FleetHostMdmCommand Move-FleetHost Set-FleetHostNameTemplate Get-FleetDiskEncryption Set-FleetDiskEncryption Set-FleetOsUpdate Set-FleetCalendarEvent Get-FleetConfigurationProfile New-FleetConfigurationProfile Set-FleetConfigurationProfile Remove-FleetConfigurationProfile Sync-FleetConfigurationProfile Send-FleetConfigurationProfile Install-FleetConfigurationProfile Uninstall-FleetConfigurationProfile Get-FleetSetupExperienceSoftware Set-FleetSetupExperienceSoftware Get-FleetSetupExperienceScript Set-FleetSetupExperienceScript Remove-FleetSetupExperienceScript Get-FleetEula Set-FleetEula Remove-FleetEula Get-FleetBootstrapPackage Set-FleetBootstrapPackage Remove-FleetBootstrapPackage Get-FleetPolicyAutomation Reset-FleetPolicyAutomation Get-FleetScript Invoke-FleetScript Remove-FleetScript New-FleetScript Set-FleetScript Get-FleetScriptResult Start-FleetScriptBatch Get-FleetScriptBatch Stop-FleetScriptBatch Set-FleetJitProvisioning Get-FleetGoogleConditionalAccess Set-FleetGoogleConditionalAccess Remove-FleetGoogleConditionalAccess Get-FleetMicrosoftGraphCredential Set-FleetMicrosoftGraphCredential Get-FleetAppleBusinessToken Get-FleetVppToken Add-FleetVppToken Set-FleetVppTokenFleet Get-FleetEnrollmentProfile Set-FleetEnrollmentProfile Remove-FleetEnrollmentProfile

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

Version 2.4.0 - Adds 58 cmdlets, Fleet error reasons in messages, and multipart uploads and downloads for Windows PowerShell 5.1 and PowerShell 7. New cmdlets cover policy deletion, scripts and batch runs, configuration profiles, software packages and App Store apps, host secrets and MDM commands, setup experience, enrollment tokens, conditional access, Graph credentials, and fleet admin settings. Empty lists sent as null no longer come back as a record. See CHANGELOG.md.

FileList

Version History

Version Downloads Last updated
2.4.0 (current version) 9 11/25/2026
2.3.1 14 11/12/2026
2.3.0 6 11/12/2026
2.2.1 14 11/5/2026
2.2.0 10 11/5/2026
2.0.1 311 8/9/2025
1.0.4 10 8/8/2025
1.0.3 11 8/7/2025
1.0.2 8 8/7/2025
1.0.1 12 8/7/2025
1.0.0 9 8/7/2025
Show more