diff --git a/sysinfo.ps1 b/sysinfo.ps1 index 59dd12f..d5c7eef 100644 --- a/sysinfo.ps1 +++ b/sysinfo.ps1 @@ -126,7 +126,7 @@ function Find-RAM_7 { function Show-Computer-Info_7 { if ($write_output.IsPresent){ - $computer_hostname = wmic + $computer_hostname = wmic computersystem get name $output_filename = "SystemProfile_" + $computer_hostname + ".txt" $output_path = "" if ($file_location.IsPresent){