< Back

Compare-Drivers

Mon Jan 13, 2020 4:08 am

NAME Compare-Drivers



SYNOPSIS

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





SYNTAX

Compare-Drivers [-Path] <String> -File1 <String> -File2 <String> [-XLS] [-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



-File1 <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-File2 <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-XLS [<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