Question: Objective Create a PowerShell script that retrieves information about running processes on a Windows system and exports it to a CSV file. Requirements Process Retrieval:
Objective
Create a PowerShell script that retrieves information about running processes on a Windows system and exports it to a CSV file.
Requirements
Process Retrieval:
Write a PowerShell script that retrieves details about all running processes using the GetProcess cmdlet.
Select Properties:
Select specific properties for each process, such as:
Process Name
Process ID PID
Working Set memory usage
Export to CSV:
Export the selected process details to a CSV file named ProcessInfo.csv
CSV Format:
The CSV file should have appropriate column headers and rows containing process information.
Bonus Challenge Optional:
Include additional properties eg CPU usage, start time in the exported CSV
Example Output
Process Name, PID, Working Set
chrome, MB
explorer, MB
notepad, MB
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
