< Back

Export-Process

Mon Jan 13, 2020 4:19 am

NAME Export-Process



SYNOPSIS

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





SYNTAX

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





DESCRIPTION

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

It will list each service with the following informations: Name, Caption, State, Start mode

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



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









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



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



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









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



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



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











RELATED LINKS