< Back

Export-Drivers

Mon Jan 13, 2020 4:17 am

NAME Export-Drivers



SYNOPSIS

The Export-Drivers function allows you to export a Drivers list from your computer.





SYNTAX

Export-Drivers [-Path] <String> [-CSV] [-XML] [-HTML] [<CommonParameters>]





DESCRIPTION

Allow you to export a list of Drivers from your computer.

It will list each service with the following informations: Device name, manufacturer, version, inf name

Drivers list can be export to the following format: CSV, XLSX, XML, HTML





PARAMETERS

-Path <String>



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-CSV [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-XML [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-HTML [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Damien VAN ROBAEYS - @syst_and_deploy - http://www.systanddeploy.com



-------------------------- EXAMPLE 1 --------------------------



PS Root\\>Export-Drivers -Path C:\\ -csv



The command above will export a Drivers list in CSV format in the folder C:\\









-------------------------- EXAMPLE 2 --------------------------



PS Root\\>Export-Drivers -Path C:\\ -xml



The command above will export a Drivers list in XML format in the folder C:\\









-------------------------- EXAMPLE 3 --------------------------



PS Root\\>Export-Drivers -Path C:\\ -html



The command above will export a Drivers list in HTML format in the folder C:\\











RELATED LINKS