Skip to content

1 Installation

m1lkman edited this page Mar 17, 2023 · 1 revision

Installing Update-PlexMediaServer

1. Download Module

Option A: Download the module manually.

Download and save the module file Update-PlexMediaServer.psm1 to a folder of the same name in one of your PowerShell module directories.

  • %ProgramFiles%\WindowsPowerShell\Modules\Update-PlexMediaServer
  • %UserProfile%\Documents\WindowsPowerShell\Modules\Update-PlexMediaServer

Option B: Use git

Execute the following commands from an elevated (run as Administrator) command prompt or PowerShell:

cd %ProgramFiles%\WindowsPowerShell\Modules\
git clone https://github.com/m1lkman/Update-PlexMediaServer.git

2. Install Module

Import the module

Execute the following command from an elevated (run as Administrator) Powershell. (More Info Inport-Module):

Import-Module Update-PlexMediaServer

Note: This module is not signed, you will need to set your PowerShell execution policy to bypass. (see Set-ExecutionPolicy)

Updating

  1. Download the updated module using the preferred Option above.
  2. Execute the following commands from an elevated (run as Administrator) Powershell.:
Remove-Module Update-PlexMediaServer
Import-Module Update-PlexMediaServer

Uninstalling

  1. Execute the following command from an elevated (run as Administrator) Powershell.
Remove-Module Update-PlexMediaServer
  1. Delete the Module folder created above.