Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Posted

Hello,

Trying to figure out a way to update abode via pulseway most of our computers are win10 and some win11 or is there a plugin that will work if a script isn't possible ? 

Is there also an automated script to return all the accounts that haven't logged in for X amount of days then delete those user accounts without having to do "Connect-AzureAD" as I don't want to put Azure creds online 

Regards, Jordan

Featured Replies

I wrote and used this often (before using a 3PP solution).  The only thing is I couldn't find a static link to Adobe Reader DC when I wrote this, so I simply downloaded the latest version, and hosted it in AWS S3 and pulled it from there.  So feel free to find a static URL or do the same I did.  

Function New-FileDownload {
    param(
        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [string]$Url,
        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [string]$Destination
    )
    $webClient = New-Object System.Net.WebClient
    $webClient.DownloadFile($Url, $Destination)
    if (Test-Path -LiteralPath $Destination) {
        Write-Verbose "File downloaded Successfully"
        return $true
    }
    else {
        Write-Verbose "File download Failed"
        return $false
    }
}
 
$AppName = "Adobe Acrobat Reader DC"
 
$InstallStatus = Get-ItemProperty "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" |
Where-Object { $_.DisplayName -eq $AppName }
if ($InstallStatus) {
    Write-Output "$($AppName) already installed."
    Exit 0
}
 
$AdobeURL = "ENTER YOUR URL TO AdobeReaderDC.exe"
$Destination = "$($env:temp)\adobeinstall.exe"
$FileDownload = New-FileDownload -Url $AdobeURL -Destination $Destination
if ($FileDownload) {
    Write-Output "Download succeeded, beginning Adobe Reader install..."
    Start-Process "$($Destination)" -ArgumentList "/sAll /rs /msi EULA_ACCEPT=YES" -Wait -NoNewWindow
    $InstallStatus = Get-ItemProperty "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" |
    Where-Object { $_.DisplayName -eq $AppName }
    if ($InstallStatus) {
        Write-Output "$($AppName) successfully installed."
        Exit 0
    }
    else {
        Write-Output "$($AppName) failed to install."
        Exit 1
    }
}
else {
    Write-Output "Failed to download installation file. Exiting."
    Exit 1
}

 

  • Author
On 6/4/2022 at 4:12 AM, Mark G38 said:

I wrote and used this often (before using a 3PP solution).  The only thing is I couldn't find a static link to Adobe Reader DC when I wrote this, so I simply downloaded the latest version, and hosted it in AWS S3 and pulled it from there.  So feel free to find a static URL or do the same I did.  

Function New-FileDownload {
    param(
        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [string]$Url,
        [Parameter(Mandatory = $true)]
        [ValidateNotNullOrEmpty()]
        [string]$Destination
    )
    $webClient = New-Object System.Net.WebClient
    $webClient.DownloadFile($Url, $Destination)
    if (Test-Path -LiteralPath $Destination) {
        Write-Verbose "File downloaded Successfully"
        return $true
    }
    else {
        Write-Verbose "File download Failed"
        return $false
    }
}
 
$AppName = "Adobe Acrobat Reader DC"
 
$InstallStatus = Get-ItemProperty "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" |
Where-Object { $_.DisplayName -eq $AppName }
if ($InstallStatus) {
    Write-Output "$($AppName) already installed."
    Exit 0
}
 
$AdobeURL = "ENTER YOUR URL TO AdobeReaderDC.exe"
$Destination = "$($env:temp)\adobeinstall.exe"
$FileDownload = New-FileDownload -Url $AdobeURL -Destination $Destination
if ($FileDownload) {
    Write-Output "Download succeeded, beginning Adobe Reader install..."
    Start-Process "$($Destination)" -ArgumentList "/sAll /rs /msi EULA_ACCEPT=YES" -Wait -NoNewWindow
    $InstallStatus = Get-ItemProperty "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" |
    Where-Object { $_.DisplayName -eq $AppName }
    if ($InstallStatus) {
        Write-Output "$($AppName) successfully installed."
        Exit 0
    }
    else {
        Write-Output "$($AppName) failed to install."
        Exit 1
    }
}
else {
    Write-Output "Failed to download installation file. Exiting."
    Exit 1
}

 

Thank you this will work perfectly 

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.