Issues with Generating SHA-256 Hash Report During USB Drive Scanning in PowerShell Script
I am trying to create an isolated computer for USB drive decontamination using a script that scans my USB drive and generates a report in the directory C:ScanReports. However, I am encountering an issue with my code. The problem is that it fails to find the directory C:ScanReports. After analyzing my code line by line to pinpoint the issue, I found that the problem lies here: Get-ChildItem : Cannot find path ‘C:Userskenny:’ because it does not exist.
At line:1 char:1
Issues with Generating SHA-256 Hash Report During USB Drive Scanning in PowerShell Script
I am trying to create an isolated computer for USB drive decontamination using a script that scans my USB drive and generates a report in the directory C:ScanReports. However, I am encountering an issue with my code. The problem is that it fails to find the directory C:ScanReports. After analyzing my code line by line to pinpoint the issue, I found that the problem lies here: Get-ChildItem : Cannot find path ‘C:Userskenny:’ because it does not exist.
At line:1 char:1
PowerShell ForEach Loop – delete current line
I have a simple ForEach loop
Returning Array of hashtables in Powershell [duplicate]
This question already has answers here: Create a Single-Element Json Array Object Using PowerShell (2 answers) Force Powershell function to return Array [duplicate] (2 answers) Closed 15 hours ago. I have a Powershell function that returns an array of hashtables. If the function returns a single entry in the array, then I get some odd […]
Returning Array of hashtables in Powershell [duplicate]
This question already has answers here: Create a Single-Element Json Array Object Using PowerShell (2 answers) Force Powershell function to return Array [duplicate] (2 answers) Closed 15 hours ago. I have a Powershell function that returns an array of hashtables. If the function returns a single entry in the array, then I get some odd […]
Returning Array of hashtables in Powershell [duplicate]
This question already has answers here: Create a Single-Element Json Array Object Using PowerShell (2 answers) Force Powershell function to return Array [duplicate] (2 answers) Closed 15 hours ago. I have a Powershell function that returns an array of hashtables. If the function returns a single entry in the array, then I get some odd […]
Returning Array of hashtables in Powershell [duplicate]
This question already has answers here: Create a Single-Element Json Array Object Using PowerShell (2 answers) Force Powershell function to return Array [duplicate] (2 answers) Closed 15 hours ago. I have a Powershell function that returns an array of hashtables. If the function returns a single entry in the array, then I get some odd […]
Powershell to organise output in a chart type
Hi i have the followign PS script but the output is not how i would like to arrange it, can anyone pelase help get it right please.
Its pollign a txt file for line with Name and Expire and i would like to dispaly this into a CSV with column heading of Name and Expire and have each name and expiry date int hat line to be stored :
Powershell to organise output in a chart type
Hi i have the followign PS script but the output is not how i would like to arrange it, can anyone pelase help get it right please.
Its pollign a txt file for line with Name and Expire and i would like to dispaly this into a CSV with column heading of Name and Expire and have each name and expiry date int hat line to be stored :
Powershell to organise output in a chart type
Hi i have the followign PS script but the output is not how i would like to arrange it, can anyone pelase help get it right please.
Its pollign a txt file for line with Name and Expire and i would like to dispaly this into a CSV with column heading of Name and Expire and have each name and expiry date int hat line to be stored :