-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better instructions for side-by-side install and Zip install #5836
Comments
This is nothing special required for a ZIP-based installation. The zip file contains all of the same modules and assemblies. Everything works. One caveat, you should Unblock the zip file before extracting it. After extracting it, you may want to add the location to your path (in the proper order) so that the unzipped copy of pwsh.exe is executed rather than the PowerShell 7 version (but this is optional). As a separate note, you should file an issue with the SQL team for |
There are 2 sentences in this article about installing via Zip. Do we just download and run from there? Do we need to extract the file somewhere special? Extracting a file is not necessarily 'installing' something so this is confusing. There is also nothing in the article about unblocking the zip file. I am sorry, but these instructions are completely abysmal in helping someone doing an install in this fashion. Furthermore, I followed you instructions, and I am still getting the following errors. Closing my ticket and saying "it works" when it is clearly not working for me, is not the most professional strategy. Please update your instructions and check that your things actually work.
|
The process is very simple. Unblocking a file is normal procedure for anything you download on Windows. But it is a fair point that is could be added to the doc.
If this does not work in your environment then there is something else wrong in your environment. |
I have upgraded to powershell core 7, however some things such as invoke-ascmd simply do not work in 7, but worked in 6.2.4. I have production workloads that depend on this. I tried to install the Zip of 6.2.4, but your instructions on this page for zip install are nearly non-existent, and you have no documentation anywhere else on this. Please advice how to install 6 and 7 side-by-side with detailed instructions. Running pswh.exe from the extracted zip file has many missing fundamental components like powershellget and packagemanager with no way to add.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: