I am using for that PowerShell Profile scripts.
if (!Test-Path $profile)
{
New-Item $profile -Type File -Force
}
notepad $profile
Here we can add scripts to be loaded always on PowerShell process startup.
I am using for that PowerShell Profile scripts.
if (!Test-Path $profile)
{
New-Item $profile -Type File -Force
}
notepad $profile
Here we can add scripts to be loaded always on PowerShell process startup.