Hey there,
I just tested out your Update-PowerShellCore script. One thing that would honestly make it more desirable to use would be to have it not ask so many questions and just do the update. I can't seem to pass more than one parameter to it to try and skip all of the prompts so that it just does the update.
Perhaps I am doing something incorrectly?
At first I thought it had to do with the alias I tried to setup:
# -- MSPS_profile.ps1 ------
# -- This file is in a folder on my $PATH
. Update-PowerShellCore.ps1
function Update-PowerShell {
Update-PowershellCore -UsePackageManagement "Yes" -DownloadDirectory "$HOME\Downloads"
}
Set-Alias psupdate Update-PowerShell
But then the same thing happened when I tried to do it manually.
Update-PowershellCore -UsePackageManagement "Yes" -DownloadDirectory "$HOME\Downloads"
If this cannot be done, it would great if perhaps it could be adjusted so that it could.
Thanks,
-MH
Hey there,
I just tested out your Update-PowerShellCore script. One thing that would honestly make it more desirable to use would be to have it not ask so many questions and just do the update. I can't seem to pass more than one parameter to it to try and skip all of the prompts so that it just does the update.
Perhaps I am doing something incorrectly?
At first I thought it had to do with the alias I tried to setup:
But then the same thing happened when I tried to do it manually.
If this cannot be done, it would great if perhaps it could be adjusted so that it could.
Thanks,
-MH