fixed typo
This commit is contained in:
@@ -122,7 +122,7 @@ If ( (Test-Path $C_FILE) -and (Test-Path $P_FILE) ) {
|
|||||||
$uninstalled = Compare-Object -ReferenceObject $current -DifferenceObject $previous -Property Name,Version -PassThru | Where-Object { (![string]::IsNullOrEmpty($_.Name)) -and ($_.SideIndicator -eq '=>') }
|
$uninstalled = Compare-Object -ReferenceObject $current -DifferenceObject $previous -Property Name,Version -PassThru | Where-Object { (![string]::IsNullOrEmpty($_.Name)) -and ($_.SideIndicator -eq '=>') }
|
||||||
|
|
||||||
# Alert trigger for Atera
|
# Alert trigger for Atera
|
||||||
If ( $installed -or $uninstalled ) { Write-Output "Application changed detected" }
|
If ( $installed -or $uninstalled ) { Write-Output "Application change detected" }
|
||||||
|
|
||||||
# Display installed apps
|
# Display installed apps
|
||||||
If ( $installed ) {
|
If ( $installed ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user