< Back

Export-Hotfix

Mon Jan 13, 2020 4:18 am

NAME Export-Hotfix



SYNOPSIS

The Export-Hotfix function allow you to export a Hotfix list from your computer.





SYNTAX

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





DESCRIPTION

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

It will list each Hotfix with the following informations: Hotfix ID, Description

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



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









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



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



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









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



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



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











RELATED LINKS