SysProfile.ps1

# References:
# 1. Below are the list of predefined vars that can be used:
# - $PSScriptRoot [System defined] The folder path for current scipt file, NOT the caller script to call this function

# Invoke PsProfile for all MyProfiles based on load order
Invoke-MyProfile -SysProfile

"$([datetime]::Now) Hello sys profile`r`n" >> d:\temp.txt