This project is read-only.

Server Power On Alert v02

Rating: No reviews yet
Downloads: 99
Released: Nov 8, 2012
Updated: Nov 8, 2012 by icefyre
Dev status: Stable Help Icon


Application SRV_PowerOnAlert_v02.ps1
application, 2K, uploaded Nov 8, 2012 - 99 downloads

Release Notes


SRV_PowerOnAlert is a basic Script to send email notifications when a machine starts in your domain.


Use with Task Scheduler and set the Task Scheduler to execute the script on system startup.


Copy into a directory of your preference and run with Task Scheduler.
Tested with Windows XP Pro sp3, Windows 7, Windows 2003, Windows 2008 and Windows 2008R2.

Task Scheduler Syntax

Windows XP/2003
C:\Windows\System32\windowspowershell\v1.0\powershell.exe -noninteractive -nologo -command & "C:\FOLDER\SRV_PowerOnAlert.ps1"

Windows 7/2008/2008R2
powershell -noninteractive -nologo -command & 'C:\FOLDER\SRV_PowerOnAlert.ps1'

NOTE 1:The account used to execute the Scheduled task must have send permissions on mail server.
NOTE 2:Some servers take a long time to boot and occasionally the machine is not yet fully operational and online when the task runs; put in a sleep or timeout to take this delay into account to ensure delivery of notification.

v02:Made a minor clean-up.

v01:Initial release.

Reviews for this release

No reviews yet for this release.