Select Page

Required Files: SharedScriptRequiredFile 41


(For Laptops and mobile devices.)
Attaches “Battery.csv” to your asset page.


 

Import-Module $env:SyncroModule
$path = "c:\temp\"
If(!(test-path $path))
{
      New-Item -ItemType Directory -Force -Path $path
}
Start-Process "c:\temp\BatteryInfoView.exe" -ArgumentList "/scomma c:\temp\battery.csv" -Wait
Upload-File -Subdomain "SUBDOMAIN" -FilePath "c:\temp\result.csv"