Gates VP
Gates VP

Reputation: 45307

Install PSCX with PowerShell

I want to install the PowerShell Community Extensions using only the command-line.

I don't want to use a UI, no right-click extract, double-clicking an MSI file. I have to do this process on dozens of computers. However, all of the instructions I've found involve all of this clicking and downloading.

I'm looking for a series of PowerShell commands that can complete the installation. Ideal solution would be completely self-contained: download file X & install. I would like to avoid copying local versions to the given server.

Requirement of Admin access is fine.


Clarifications:


Edit for 2014

I would now do this with Chocolatey.

Chocolatey has a one-line download & install command followed by an additional command in to install PSCX.

Upvotes: 3

Views: 5542

Answers (1)

manojlds
manojlds

Reputation: 301527

PSCX (2.0) is available as a zip and all you have to do is copy the contents of the zip file to your modules folder -$env:Home\Documents\WindowsPowerShell\Modules ( for user) or $PSHome\Modules (for system) - and when you want to use it, issue import-module pscx.

Read the release notes for more details.

Upvotes: 4

Related Questions