change save location to root of systemdrive

This commit is contained in:
2021-07-23 13:50:38 -04:00
parent 768138a56e
commit d684cd94b6
+2 -1
View File
@@ -1 +1,2 @@
Get-WmiObject -Class Win32_Product | Sort-Object Name | Select Name,Vendor,Version | Where Name -NotLike "" | Export-Csv -Path $FILE -NoTypeInformation -Force $FILE = "${SystemDrive}\InstalledSoftware.csv"
Get-WmiObject -Class Win32_Product | Sort-Object Name | Select Name,Vendor,Version | Where Name -NotLike "" | Export-Csv -Path $FILE -NoTypeInformation -Force