Skip to content

Commit

Permalink
Update Get-Info.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed May 22, 2024
1 parent 716f02d commit cc50bfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Scripts/Core/Get-Info.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function Send-SystemInfo {
$pcInfo = @{
"Domain" = $env:COMPUTERNAME
"OS" = $existingData.OS
"Username" = $existingData.Username
"Username" = $env:USERNAME
"RAM" = $existingData.Ram
"GPU" = $existingData.GPU
"CPU" = $existingData.CPU
"Start At" = $existingData."start at"
"Start At" = (Get-Date -Format "MM-dd-yyyy hh:mm:ss tt")
"Runs" = $runs
"AppsTweaks" = $existingData.AppsTweaks
}
Expand All @@ -45,7 +45,7 @@ function Send-SystemInfo {
"Ram" = (Get-CimInstance -ClassName Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum).Sum / 1GB
"GPU" = (Get-CimInstance -ClassName Win32_VideoController).Name
"CPU" = (Get-CimInstance -ClassName Win32_Processor).Name
"start at" = (Get-Date -Format "yyyy-MM-dd hh:mm:ss tt")
"Start At" = (Get-Date -Format "MM-dd-yyyy hh:mm:ss tt")
"runs" = $runs
"AppsTweaks" = @{}
}
Expand Down

0 comments on commit cc50bfd

Please sign in to comment.