impact/Test-ImpactOneDrive.ps1

function Test-ImpactOneDrive {

Start-Process "$env:LOCALAPPDATA\Microsoft\OneDrive\OneDrive.exe" -ArgumentList "/background"

If (-Not (Get-Process OneDrive -ErrorAction SilentlyContinue)) {
  $BTText1 = New-BTText -Text 'OneDrive Not Running'
  $BTText2 = New-BTText -Text 'The OneDrive client must be running in order to sync files and documents. Click this notification to restart it.'
  $BTHeader = New-BTHeader -Id "ImpactToast" -Title "The Impact Partnership"
  $BTImage2 = New-BTImage -Source "https://impactpartnership.blob.core.windows.net/public-resources/logo.png" -AppLogoOverride
  $binding1 = New-BTBinding -Children $BTText1,$BTText2 -AppLogoOverride $BTImage2
  $visual1 = New-BTVisual -BindingGeneric $binding1
  $content1 = New-BTContent -Visual $visual1 -Duration Long
  $BTApp = New-BTAppId -AppId Microsoft.SkyDrive.Desktop
  Submit-BTNotification -Content $content1 -UniqueIdentifier OneDriveNotRunning -AppId Microsoft.SkyDrive.Desktop
}
}