Start-up Script

 

Write-Host "Hi, welcome back!"
Remove-Variable HOMEDRIVE 2> $null
Remove-Variable HOMEPATH 2> $null
Set-Variable HOMEDRIVE "C:"
Set-Variable HOMEPATH "\Users\LANID\"
if ( $(pwd).Path -like 'H:*')
{
    cd $HOME
}

 


Revision #1
Created Mon, Jan 11, 2021 9:03 AM by Chairat (Par)
Updated Mon, Jan 11, 2021 9:05 AM by Chairat (Par)