User Tools

Site Tools


obtener_rendimiento_de_lectura_del_disco

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
obtener_rendimiento_de_lectura_del_disco [2024/06/25 23:26] – created osoobtener_rendimiento_de_lectura_del_disco [2024/10/17 21:42] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ===== Script Details ===== ===== Script Details =====
  
-1. **File Creation and Speed Measurement**: The script creates a 1 GB file and measures the read speed multiple times. +  - **File Creation and Speed Measurement**: The script creates a 1 GB file and measures the read speed multiple times. 
-2. **Gathering Additional Information**: It captures the current date and time, and the hostname of the computer. +  **Gathering Additional Information**: It captures the current date and time, and the hostname of the computer. 
-3. **Creating and Saving the Result Object**: A custom object with `DateTime`, `Hostname`, and `AvgSpeedMBps` is created. +  **Creating and Saving the Result Object**: A custom object with `DateTime`, `Hostname`, and `AvgSpeedMBps` is created. 
-4. **CSV File Handling**:  +  **CSV File Handling**:  
-   - If the CSV file already exists, the script appends the new data. +    - If the CSV file already exists, the script appends the new data. 
-   - If the CSV file does not exist, the script creates a new CSV file and writes the data.+    - If the CSV file does not exist, the script creates a new CSV file and writes the data.
  
 ===== PowerShell Script ===== ===== PowerShell Script =====
Line 77: Line 77:
 ===== How to Run the Script ===== ===== How to Run the Script =====
  
-1. Open PowerShell as an administrator. +  - Open PowerShell as an administrator. 
-2. Copy and paste the script into the PowerShell window. +  Copy and paste the script into the PowerShell window. 
-3. Press `Enter` to execute.+  Press `Enter` to execute.
  
 This will create or append to a CSV file at `C:\temp\disk_benchmark_results.csv` with the date, time, hostname, and average read speed. This will create or append to a CSV file at `C:\temp\disk_benchmark_results.csv` with the date, time, hostname, and average read speed.
 +
 +{{:diskbenchmark.jpg?nolink|}}
obtener_rendimiento_de_lectura_del_disco.1719357963.txt.gz · Last modified: 2024/10/17 21:42 (external edit)