Skip to content

Installing the module

dalmiro grañas edited this page Mar 19, 2017 · 18 revisions

From PowershellGallery (recommended)

1 - Open Powershell as administrator and run

Install-Module -Name Octoposh -force

The Install-Module cmdlet is part of the Windows Management Framework 5.0 Preview

2 - Run

Import-Module Octoposh

3 - From the same console run Get-command -module OctoPosh to list all the module's cmdlets

From Github

1 - Download the module from the Github project page

2 - Right click on the downloaded zip -> **Properties -> Unblock File

3 - Create a folder called OctoPosh under your PSModulePath. Use C:\Program Files\WindowsPowerShell\Modules if its on the list of Module Paths.

4 - Extract the contents of the zip on the new OctoPosh folder

5 - Open a Powershell console as administrator and run Import-Module Octoposh

6 - From the same console run Get-command -module OctoPosh to list all the module's cmdlets

Clone this wiki locally