Welcome to the RaspberryPi-PoSh github repository. RaspberryPi-PoSh is a PowerShell v6 module for installing Kodi on the Raspberry Pi using a Linux-, macOS- based operating systems. This module supports installing the following Kodi distributions:
- LibreELEC
- OpenELEC
- OSMC
In order to use this module you need to have PowerShell installed on your system, which you can download here.
Notice: This module has been only tested under Ubuntu 14.01, Ubuntu 16.04 and CentOS 7 (feel free to test it under macOS and letting me know).
If you are new to PowerShell and would like to learn more, I recommend reviewing the getting started documentation.
Navigate here for an overview of all cmdlets and their parameters, off course every cmdlets has built-in help integrated, feel free to use get-help.
- Download or clone this repository on your desktop.
- Copy the directory RaspberryPi-PoSh to one of the following directories:
- /home/ubuntu/.local/share/powershell/Modules
- /usr/local/share/powershell/Modules
- /opt/microsoft/powershell/[version]/Modules
Notice: For a up to date list where you can copy the module directory, execute the following command at the Windows PowerShell command prompt:
$Env:PSMODULEPATH -Split ":"
To use the module you first need to import it in your current PowerShell session:
Import-Module -Name RaspberryPi-PoSh
To view all cmdlets, enter:
Get-Command -Module RaspberryPi-PoSh
See this wiki page for more information on how to use classes available in this module to create disk images for your Raspberry Pi.
Notice: Start PowerShell as root when using the module!