Jump to content
Pulseway
Sign In
Home
dbeckwitt
Pulseway
Website
Browse
Forums
Online Users
Knowledge Base
Activity
All Activity
My Activity Streams
Unread Content
Content I Started
Search
More
More
Website
Browse
Knowledge Base
Activity
Existing user? Sign In
Sign In
Email Address
Password
Remember me
Not recommended on shared computers
Sign In
Forgot your password?
Sign Up
Home
dbeckwitt
Search...
Pulseway 9.14 🔥
Hide announcement
dbeckwitt
Members
Joined
August 20, 2019
5 yr
Last visited
May 24, 2023
1 yr
View Profile
Find content
Everything posted by dbeckwitt
Powershell 7.2
Powershell 7.2
dbeckwitt
posted a post in a topic in
PowerShell
Is there a way to force use of Powershell 7.2 when running powershell scripts in Pulseway?
September 27, 2022
2 yr
1
Continue script after restart using Task
Continue script after restart using Task
dbeckwitt
replied to
Van Der Hoff ICT
's post in a topic in
PowerShell
Seems simple enough.. use 'script 1' to generate a 'key' file right before reboot. On reboot, monitor for that file > if it exists, run your 2nd script (which deletes the 'key' file before termination)
August 20, 2019
5 yr
3 replies
Add all live IP's to Notifications
Add all live IP's to Notifications
dbeckwitt
posted a post in a topic in
PowerShell
I've written a script to scan the network and insert all existing active IP addresses to the proper location in the registry, however Pulseway manager doesn't pick that up (even on service restart). Where do I need to insert those changes? Sample script below- It relys on a txt file for a list of active IP's (generated separately) cls # Remove any existing registry entries $ExistingKeys = Get-ChildItem "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\" | Select-Object -expand Name $Count = 0 ForEach ($Key in $ExistingKeys){ Remove-Item "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" $Count++ } #Load List of IP's to monitor and insert values into registry $IPList = Get-Content "C:\updates\IPList.txt" $Count = 0; foreach ($IP in $IPList) { New-Item "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count"; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" -Name ("Address") -Type String -Value $IP; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" -Name ("AliasName") -Type String -Value "Camera $Count"; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" -Name ("Priority1") -Type String -Value 2; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" -Name ("Priority2") -Type String -Value 1; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" -Name ("ResponseMinutes") -Type String -Value 1; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" -Name ("ResponseTime") -Type String -Value 300; Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\DevicesPingResponses\Device$Count" -Name ("UseAlias") -Type String -Value 0; $Count++ } exit 0;
August 20, 2019
5 yr
1 reply
Home
dbeckwitt
All Activity
Refresh
Sign In
Sign Up
Search
Menu
Close panel
Account
Close panel
Existing user? Sign In
Sign Up
Close panel
Navigation
Close panel
Website
Browse
Forums
Online Users
Knowledge Base
Activity
All Activity
My Activity Streams
Unread Content
Content I Started
Search
Home
dbeckwitt
Close panel
Search
Close panel
Search
Where:
Everywhere
Topics
Events
Members
Search:
Content titles and body
Content titles only
Date Created:
Any date
Past 24 hours
Past week
Past month
Past six months
Past year
Use:
All of these words
Any of these words
Last Updated:
Any date
Past 24 hours
Past week
Past month
Past six months
Past year
Search
Everywhere
Topics
Events
Members
Find results in
Search titles and body
Search titles only
Date Created
Created any time
Created past 24 hours
Created past week
Created past month
Created past 6 months
Created past year
Last Updated
Updated any time
Updated past 24 hours
Updated past week
Updated past month
Updated past 6 months
Updated past year