added script

This commit is contained in:
2021-07-23 13:46:33 -04:00
parent 57f12b1045
commit 768138a56e
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Get-WmiObject -Class Win32_Product | Sort-Object Name | Select Name,Vendor,Version | Where Name -NotLike "" | Export-Csv -Path $FILE -NoTypeInformation -Force
+11
View File
@@ -0,0 +1,11 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
## Atera variable to specify output file
## Note: enter 'null' at runtime to use default save location of current user's desktop
If ( '{[OutputFile]}' -eq 'null' ) {
$FILE = "${Env:UserProfile}\Desktop\InstalledSoftware.csv"
} Else {
$FILE = "{[OutputFile]}"
}
Run-Script -LivePSScript Get-InstalledSoftware