DeviceManager.psd1

@{
    RootModule             = "DeviceManager.dll"
    ModuleVersion          = '2.0.1'
    CompatiblePSEditions   = @("Core", "Desktop")
    GUID                   = '26dc6923-09eb-4c27-89c7-3194192f1a21'
    Author                 = 'MartinGC94'
    CompanyName            = 'Unknown'
    Copyright              = '(c) 2026 MartinGC94. All rights reserved.'
    Description            = 'Manage devices and device drivers for Windows.'
    PowerShellVersion      = '5.1'
    RequiredAssemblies     = if ($PSEdition -eq "Desktop") {"DeviceManager.dll"} else {$null}
    TypesToProcess         = @('DeviceManagerType.ps1xml')
    FormatsToProcess       = @('DeviceManagerFormat.ps1xml')
    FunctionsToExport      = @()
    CmdletsToExport        = @('Disable-Device','Enable-Device','Get-Device','Get-DeviceDriver','Install-DeviceDriver','Invoke-DevicePnpDetection','Remove-Device','Remove-DeviceDriver','Show-DeviceUpdateWizard','Undo-DeviceDriverUpdate')
    VariablesToExport      = @()
    AliasesToExport        = @('Rollback-DeviceDriver')
    DscResourcesToExport   = @()
    FileList               = @('DeviceManager.deps.json','DeviceManager.dll','DeviceManager.pdb','DeviceManager.psd1','DeviceManagerFormat.ps1xml','DeviceManagerType.ps1xml','en-US\DeviceManager.dll-Help.xml')
    PrivateData            = @{
        PSData = @{
             Tags         = @("Device", "Driver", "Install", "Uninstall", "Config", "Settings")
             ProjectUri   = 'https://github.com/MartinGC94/DeviceManager'
             ReleaseNotes = @'
2.0.1:
    Fixed issue that prevented the module from being imported in Windows PowerShell 5.1.
2.0.0:
    Added positions to the following commands and parameters:
        Get-DeviceDriver (Device and Path)
        Install-DeviceDriver (Driver and Path)
        Remove-DeviceDriver (Driver and Path)
        Show-DeviceUpdateWizard (Device)
    Renamed most device properties to remove the following prefixes:
        System.Devices.
        System.
        System.Drivers. (Replaced with Driver) for example System.Drivers.InfSection became DriverInfSection
    Added a PSPropertyAdapter for Device objects which has the following effects:
        Makes it possible to access Device properties like any other property like: ($Dev.DriverInfSection).
        Removes the magic .Count PS property for individual devices in Windows PowerShell 5.1 (due to a bug).
    Added new GetDevicePropertyById and GetDevicePropertyByName methods to Device objects.
1.0.0:
    Initial release.
'@

        }
    }
}