2.0 Production

Rating:        Based on 12 ratings
Reviewed:  10 reviews
Downloads: 46838
Change Set: 66090
Released: May 12 2010
Updated: Jan 16 2011 by r_keith_hill
Dev status: Stable

Recommended Download

Application Pscx-2.0.0.1.zip
application, 1758K, uploaded May 13 2010 - 40665 downloads

Other Available Downloads

Documentation Pscx.dll-Help.xml
documentation, 1539K, uploaded May 13 2010 - 5356 downloads
Application Pscx.Deprecated-2.0.zip
application, 718K, uploaded May 15 2010 - 817 downloads

Release Notes

PowerShell Community Extensions 2.0 Release Notes

May 10, 2010

Update 5/12/2010: Pscx 2.0.0.1 released to address two issues. First the help file was incomplete. It documented only the Pscx providers. Second, the Enable-OpenPowerShellHere command was completely broken.

The primary purpose of the Pscx 2.0 release is to convert from the previous approach of using a PSSnapin and scripts over to a completely module-based approach. As a consequence, Pscx 2.0 only works with Windows PowerShell 2.0. If you need support for Windows PowerShell 1.0, you can still download the Pscx 1.2 release. The other major change is that Pscx no longer uses an MSI installer. In fact, the "install" is merely an xcopy deployment of the Pscx module into your modules folder (~\Documents\WindowsPowerShell\Modules).

NOTES ABOUT XCOPY DEPLOYMENT

Files downloaded from the web are usually blocked on Windows including the Pscx-2.0.zip file. If you do not unblock the ZIP file first then each of the files extracted from the ZIP will also be blocked. This will cause numerous errors when you import Pscx like this:

Import-Module : The following error occurred while loading the extended type data file:
Microsoft.PowerShell, 
C:\Users\Keith\Documents\WindowsPowerShell\Modules\Pscx\TypeData\Pscx.FeedStore.Type.ps1xml : 
File skipped because of the following validation exception:  File 
C:\Users\Keith\Documents\WindowsPowerShell\Modules\Pscx\TypeData\Pscx.FeedStore.Type.ps1xml 
cannot be loaded.  The file 
C:\Users\Keith\Documents\WindowsPowerShell\Modules\Pscx\TypeData\Pscx.FeedStore.Type.ps1xml 
is not digitally signed. The script will not execute on the system. 
Please see "get-help about_signing" for more details...

To avoid these errors follow the unblocking directions below.

UNBLOCKING THE PSCX-2.0.ZIP FILE:

1. Locate the Pscx-2.0.zip file in Windows Explorer.
2. Right-click on the file and select "Properties".
3. On the General tab of the Properties dialog, locate the "Unblock" button in
the lower right-hand corner and press it.

COPYING THE PSCX MODULE INTO YOUR MODULE DIR

Once you have unblocked the Pscx-2.0.0.1.zip file, extract it to the 'My Documents\WindowsPowerShell\Modules' folder in your USERPROFILE directory. If this folder doesn't exist then you will need to create it. If you want Pscx to be available to all users, then extract the files to $PSHome\Modules directory instead.

UPGRADING FROM EARLIER VERSIONS OF PSCX

Pscx 2.0 does not automatically upgrade Pscx 1.2. You should consider uninstalling earlier versions of Pscx although they can technically be installed on same machine with Pscx 2.0. The major cleanup required in moving from earlier versions to Pscx 2.0 is removing all of the Pscx related script from your profile. You will only need the command to import Pscx in your profile as discussed below.

IMPORTING THE PSCX MODULE

Importing the Pscx module is very easy. Just execute:

C:\PS> Import-Module Pscx

If you want to import Pscx in your profile, all you have to do is add the command above to your profile. Pscx can be customized in terms of preference variables and what nested modules are automatically loaded. In the root dir of the Pscx module there is a file named Pscx.UserPreferences.ps1. It shows the default values for the preference variable and which nested modules are loaded by default. If you want to change any of these, copy this file to your WindowsPowerShell dir or your home dir, edit it and then pass the path to this modified Pscx.UserPreferences.ps1 file to Import-Module e.g.:

C:\PS> Import-Module Pscx -arg ~\Pscx.UserPreferences.ps1

Pscx will now be imported with your preferences.

WINDOWS EXPLORER CONTEXT MENU ITEM - "Open PowerShell Here"

Since Pscx no longer uses an installer, if you want to enable the Windows Explorer context menu item that opens a PowerShell prompt on any drive or folder you will need to execute the Enable-OpenPowerShellHere command

Reviews for this release

     
Attn: SinisterPeguin & GregWilkerson Steps to install: 1. Download Zip file 2. Unblock zip file 3. Extract zip 4. Copy extracted Pscx folder to local modules folder 5. Open Pshell type " Import-Module PSCX"
by djgrijalva on Mar 14 at 4:49 PM
     
I have to agree with sinisterPenguin. Too cryptic a description for installing. You guys need to realize that some of the people here spend most of their time doing things other than Powershell. I hate dumbing things down, too. But sometime it's necessary. I don't have the time to mess with this.
by GregWilkerson on Mar 9 at 2:49 PM
     
Really really cool stuff. Nice an easy to use, if your not sure just call get-help its all there including -examples so you don't need to be a powershell pro to use this :)
by adamgovuk on Feb 16 at 9:05 PM
     
Ho Hum - the usual Powershell approach. Assumes you are an expert on Powershell, otherwise obscure & difficult to set up. I'm sure I'll get it working eventually but why does everything Powershell have to be obscure & cryptically documented?
by sinisterPenguin on Feb 1 at 8:53 AM
     
What the documentation doesn't explain (at least that I've seen) is that you need to Run as Administrator and issue this command first: Set-ExecutionPolicy RemoteSigned. Then you can install the 2.0 release.
by OrangeCatGuy on Aug 9 2011 at 8:08 PM
     
I unblocked the zip file before extracting into C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Pscx of my Win7 Machine and the Import-Module cmd still gave me several errors stating that various psm1 modules weren’t digitally signed. I had to manually create my own cert as documented in "get-help about_signing" and then apply that cert to all of the psm1 modules, but everything works now.
by ShawnEary on May 13 2011 at 4:41 AM
     
Installation instructions worked fine for me first time.
by unrepentantgeek on Apr 19 2011 at 7:56 AM
     
Very, very bad installation guide It does not work.
by kfleming on Mar 11 2011 at 10:21 PM
     
Need to be a local admin to import module. Else it fails with error loading assembly: Import-Module : Impossible de charger le fichier ou l'assembly 'Pscx, Version=2.0.3782.38615, Culture=neutral, PublicKeyToken=null' ou une de ses dépendances. Impossible d'accorder les demandes d'autorisation minimales. (Exception de HRESULT : 0x80131417) Au niveau de ligne : 1 Caractère : 14
by mchateau on Feb 3 2011 at 3:35 PM
     
Helpful additions to PowerShell. The refactoring since the release of PowerShell 2.0 was highly anticipated. The cleanup and restructuring of the module (into mostly advanced scripts) was very thoughtfully executed.
by yzorg on May 24 2010 at 4:00 PM