< Back

Compare-Software

Mon Jan 13, 2020 4:11 am

NAME Compare-Software



SYNOPSIS

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





SYNTAX

Compare-Software [-Path] <String> -File1 <String> -File2 <String> [-XLS] [-HTML] [<CommonParameters>]





DESCRIPTION

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

It will list each service with the following informations: Name, Version

Software 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-Software -Path C:\\ -csv



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









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



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



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









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



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



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











RELATED LINKS