itjedi42 / emby-server-tools

GNU General Public License v2.0
1 stars 0 forks source link

Emby Tools

A collection of PowerShell tools for use with Emby Server




Manage-EmbyServer

null

null

Synopsis

Emby Server Management Script

View File

Description

Installs and Updates Emby Server on Windows with IIS Reverse Proxy and SSL Certificate via Certify the Web.

What it does:

The script can also be used to update Emby Server when new versions are available.


Parameters (Install)

-Install

null null
null
Installs Emby-Server.

-InstallationPath

null null
null
Path to install Emby-Server to.

-ServiceName

null null
null
Service Name for Emby-Server.

-ServiceAccount

null null
null
User to run Emby-Server as.

-ServiceAccountSecret

null null
Password for the account to run Emby-Server As, Do not supply if using -CreateServiceAccount

-CreateServiceAccount

null null
Superceeds ServiceAccountSecret. Creates a new service account and generates password which will be logged to the console.

-ExternalHostName

null null
Hostname to configure reverse proxy to listen on. DO NOT INCLUDE HTTPS://!

-CertificateContactName

null null
Name to use with certiify the web client as contact on certificate

-CertificateContactEmail

null null
Email to use with certify the web as contact on certificate

-RestartIfNeeded

null null
null
Tells the script to restart the system if needed when installing IIS. Note, script will need to be restarted after reboot if specified.

-Beta

null null
null
Configures with latest beta version instead of latest stable.


Parameters (Update)

-Update

null null
null
Updates Emby-Server.

-InstallationPath

null null
null
Path to install Emby-Server to.

-ServiceName

null null
null
Service Name for Emby-Server.

-Beta

null null
null
Configures with latest beta version instead of latest stable.


Examples

Example 1

.\Manage-EmbyServer.ps1 -Install -CreateServiceAccount -CertificateContactName "Admin" -CertificateContactEmal "admin@example.com" -ExternalHostName "media.example.com"

Installs latest version and creates a service account with the default options. IIS is confgured and certify the web client is used to create and maintain SSL certificate

Example 2

.\Manage-EmbyServer.ps1 -Install -InstallationPath "F:\EmbyServer" -CreateServiceAccount -CertificateContactName "Admin" -CertificateContactEmal "admin@example.com" -ExternalHostName "media.example.com"

Installs latest version and creates a service account with custom path and default options. IIS is confgured and certify the web client is used to create and maintain SSL certificate

Example 3

.\Manage-EmbyServer.ps1 -Install -Beta -InstallationPath "F:\EmbyServer" -CreateServiceAccount -CertificateContactName "Admin" -CertificateContactEmal "admin@example.com" -ExternalHostName "media.example.com"

Installs latest beta version and creates a service account with custom path and default options. IIS is confgured and certify the web client is used to create and maintain SSL certificate

Example 4

.\Manage-EmbyServer.ps1 -Update

Updates Emby Server to the latest version using the default options

Example 5

.\Manage-EmbyServer.ps1 -Update -InstallationPath "F:\EmbyServer"

Updates Emby Server to the latest version using a custom path

Example 6

.\Manage-EmbyServer.ps1 -Update -InstallationPath "F:\EmbyServer" -ServiceName "My Server"

Updates Emby Server to the latest version using a custom path and service name

Example 7

.\Manage-EmbyServer.ps1 -Update -Beta

Updates Emby Server to latest beta version using the default options

Example 8

.\Manage-EmbyServer.ps1 -Update  -Beta -InstallationPath "F:\EmbyServer"

Updates Emby Server to the latest beta version using a custom path


Files


Notes

AUTHOR Ben (itjedi42)
VERSION 0.1
GUID 849a4b01-d245-4a14-b682-b5c0fdaf0b09
This script comes with no warranties. It should work properly, but use at your own risk.