Month: October 2014

Supply , installation and support

Powershell – logon script based on username

Devised this script that will run a program based on the username of the logged in user and resizes the window as needed.   #find the currently logged on user and stick the name into the $LoggedOnUser variable $LoggedOnUser=(Get-WmiObject -Class Win32_Process | Where-Object {$_.ProcessName -eq ‘explorer.exe’}).GetOwner() | select User echo $LoggedOnUser #Uncomment the line below…
Read more