mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Update README.md Installation Instructions
Update the installation instructions to be more direct and precise, making it easier for someone to get started. Also add the -scope CurrentUser method as an option which doesn't require admin privileges.
This commit is contained in:
22
README.md
22
README.md
@@ -5,14 +5,24 @@ This PowerShell Module wraps the .NET [EPPlus DLL](http://epplus.codeplex.com/)
|
||||
|
||||

|
||||
|
||||
Install
|
||||
Installation
|
||||
-
|
||||
There are two ways to install this module. If you are running PowerShell V5
|
||||
####[Powershell V5](https://www.microsoft.com/en-us/download/details.aspx?id=50395) and Later
|
||||
You can install ImportExcel directly from the Powershell Gallery
|
||||
|
||||
Install-Module -Name ImportExcel
|
||||
* [Recommended] Install to your personal Powershell Modules folder
|
||||
```powershell
|
||||
Install-Module ImportExcel -scope CurrentUser
|
||||
```
|
||||
* [Requires Elevation] Install for Everyone (computer Powershell Modules folder)
|
||||
```powershell
|
||||
Install-Module ImportExcel
|
||||
```
|
||||
|
||||
Otherwise
|
||||
To install in your personal modules folder (e.g. ~\Documents\WindowsPowerShell\Modules), run:
|
||||
|
||||
|
||||
####Powershell V4 and Earlier
|
||||
To install to your personal modules folder (e.g. ~\Documents\WindowsPowerShell\Modules), run:
|
||||
|
||||
```powershell
|
||||
iex (new-object System.Net.WebClient).DownloadString('https://raw.github.com/dfinke/ImportExcel/master/Install.ps1')
|
||||
@@ -443,4 +453,4 @@ You can also find EPPLus on [Nuget](https://www.nuget.org/packages/EPPlus/).
|
||||
|
||||
* Using `-IncludePivotTable`, if that pivot table name exists, you'll get an error.
|
||||
* Investigating a solution
|
||||
* *Workaround* delete the Excel file first, then do the export
|
||||
* *Workaround* delete the Excel file first, then do the export
|
||||
|
||||
Reference in New Issue
Block a user