Skip to content

Latest commit

 

History

History
91 lines (64 loc) · 2.82 KB

README.md

File metadata and controls

91 lines (64 loc) · 2.82 KB

PowerShell -> ElvUI Updater

This module provides an easy way to update/install ElvUI.

Currently only working on Windows and Linux(beta) on PowerShell 5.1+ (Windows, 7.x on Linux).

You can now specify the edition of WoW, and update both retail and classic!

I highly recommend installing PowerShell Core, from here: https://github.com/PowerShell/PowerShell

If you get an error checking the local version for any edition, run the command again and it should be good to go. Submit an issue if you have any problems.

Currently, I am no longer playing WoW. I will still do my best to support this project, and keep up with any open issues.

Getting Started

Windows PowerShell/Desktop Edition Preconfiguration (Core users can skip this, and start at Module Install below)

If you've never installed/used a module/script before you must do the following:

  1. Run PowerShell as Administrator
  2. Set Execution Policy to RemoteSigned, as this will allow local script execution
Set-ExecutionPolicy RemoteSigned

More information on execution policies can be found here.

If you are using the built-in version (Desktop), make sure you've launched old-school Internet Explorer (Start/Windows Key -> iexplore.exe), and have accepted the default prompt. Otherwise you may receive an error.

Module Install:

(Best method) Via the PowerShell Gallery:

Install-Module PSElvUI

If you want more information about the PowerShell Gallery, visit this link: https://docs.microsoft.com/en-us/powershell/scripting/gallery/getting-started?view=powershell-7#:~:text=To%20install%20a%20package%20from,This%20requires%20an%20administrator%20account.

(OR) Downloading/cloning this repository locally and extracting it:

Import-Module .\path\to\PSElvUI.psd1

-or-

Import-Module .\path\to\FolderModuleFilesAreIn

Help / Examples

examples

Check for update only, don't do anything else:

Invoke-ElvUICheck -OnlyCheck -Verbose

Check for update/update if available:

Invoke-ElvUICheck -Verbose

Check for update/update if available, or install if not found:

Invoke-ElvUICheck -InstallIfDoesntExist -Verbose

You can also specify the WoW edition, and use it for Wrath!

Invoke-ElvUiCheck -WowEdition Wrath -InstallIfDoesntExist -Verbose

For classic, use the following command:

Invoke-ElvUiCheck -WowEdition Classic -InstallIfDoesntExist -Verbose

In PowerShell help:

Get-Help Invoke-ElvUICheck -Detailed 

Leave an issue here if you have some feedback, issues, or questions.