remove atera variable

This commit is contained in:
2021-07-23 13:51:30 -04:00
parent d684cd94b6
commit 074707095b
-9
View File
@@ -1,11 +1,2 @@
. $([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