-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
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-PowerShellBut 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
Metadata
Metadata
Assignees
Labels
No labels