This Project is designed for Learning, Practice and Fun. It is a simple clock application made using PowerShell scripting. It features clock showing real-time time continuously on your location, running a stopwatch and setting an alarm.
- Shows the exact time on your device running
time.ps1
file. - Run a StopWatch for at least 1 minuite running
stopwatch.ps1
file. - Set an alarm at a certain time running
alarm.ps1
file. It does not sound rather only writes a wake-up call on the terminal.
Download the script and save in a known location or clone the entire repository.
To run time.ps1
file, open terminal on the location (on Windows) and use:
& .\scripts\time.ps1
To run stopwatch.ps1
file, open terminal on the location (on Windows) and use:
. .\scripts\stopwatch.ps1 # This loads `Start-StopWatch` function
# Now call the function
Start-StopWatch -Hours 0 -Minuites 1
To run alarm.ps1
file, open terminal on the location (on Windows) and use:
. .\scripts\alarm.ps1 # This loads `Set-Alarm` function
# Now call the function
Set-Alarm -Hour 12 -Minute 41
This clock does neither support Graphical User Interface (GUI) nor make any sound during alarm time. It made merely for practice and fun. Any curious mind can further develop it and add new features. But copyrights of version=1.0.0
belong to me.