< Back
Compare-Hotfix
Post
NAME Compare-Hotfix
SYNOPSIS
The Compare-Hotfix function allows you to compare two computer configurations using two CSV or XML files.
It works like this: Compare-Hotfix -Path C:\\ -file1 <File1_Path> -file2 <File2_Path> -CSV or -XLS
SYNTAX
Compare-Hotfix [-Path] <String> -File1 <String> -File2 <String> [-XLS] [-HTML] [<CommonParameters>]
DESCRIPTION
Allow you to compare two computer configurations by comparing twi CSV or XML files.
These CSV or XML files have to contain bith Hotfix export with Hotfixid and Description columns
They could be generated easily using the ConfigExport module
Comparison can be done in two formats: HTML or XLSX
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\\>Compare-Hotfix -Path C:\\ -file1 c:\\Hotfix1.csv -file2 c:\\Hotfix2.csv -HTML
The command above will compare both Hotfix1.csv and Hotfix2.csv files.
It will create a file Compare_Hotfix.html file in C:
-------------------------- EXAMPLE 2 --------------------------
PS Root\\>Compare-Hotfix -Path C:\\ -file1 c:\\Process1.csv -file2 c:\\Process2.csv -XLS
The command above will compare both Hotfix1.csv and Hotfix2.csv files.
It will create a file Compare_Hotfix.xlsx file in C:
RELATED LINKS
SYNOPSIS
The Compare-Hotfix function allows you to compare two computer configurations using two CSV or XML files.
It works like this: Compare-Hotfix -Path C:\\ -file1 <File1_Path> -file2 <File2_Path> -CSV or -XLS
SYNTAX
Compare-Hotfix [-Path] <String> -File1 <String> -File2 <String> [-XLS] [-HTML] [<CommonParameters>]
DESCRIPTION
Allow you to compare two computer configurations by comparing twi CSV or XML files.
These CSV or XML files have to contain bith Hotfix export with Hotfixid and Description columns
They could be generated easily using the ConfigExport module
Comparison can be done in two formats: HTML or XLSX
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\\>Compare-Hotfix -Path C:\\ -file1 c:\\Hotfix1.csv -file2 c:\\Hotfix2.csv -HTML
The command above will compare both Hotfix1.csv and Hotfix2.csv files.
It will create a file Compare_Hotfix.html file in C:
-------------------------- EXAMPLE 2 --------------------------
PS Root\\>Compare-Hotfix -Path C:\\ -file1 c:\\Process1.csv -file2 c:\\Process2.csv -XLS
The command above will compare both Hotfix1.csv and Hotfix2.csv files.
It will create a file Compare_Hotfix.xlsx file in C:
RELATED LINKS