Paths with Spaces when using Invoke-Elevated

Hi there, When I use Invoke-Elevated (from PSCX 2.1.1) like this: su dir 'C:\Program Files' The launched process gives the following error: Get-ChildItem : Cannot find path 'C:\Program' because i...

Id #34019 | Release: None | Updated: Apr 30 at 1:14 PM by alzadude | Created: Apr 30 at 1:14 PM by alzadude

Working Directory when using Invoke-Elevated

Hi there, When I use Invoke-Elevated (from PSCX 2.1.1) like this: su dir The launched process (correctly?) re-uses my current working directory. However, if I create a simple bat file 'show_dir....

Id #34018 | Release: None | Updated: Apr 30 at 1:15 PM by alzadude | Created: Apr 30 at 9:07 AM by alzadude

Write-Zip overwriting zip files when -WhatIf is specified.

When using the -whatif parameter with write-zip, if there is an existing archive with the same name it is overwritten. I've included a brief transcript. I'm running PSCX 2.1.1 under PowerShell 3....

Id #33670 | Release: None | Updated: Feb 22 at 12:51 AM by zaf0 | Created: Jan 16 at 7:22 PM by zaf0

Import-Module gives errors after calling Test-ModuleManifest

I call Test-ModuleManifest, passing in the full path to the pscx.psd1 file: Test-ModuleManifest 'C:\Program Files (x86)\PowerShell Community Extensions\Pscx3\Pscx\Pscx.psd1' Then I call: Import-M...

Id #33639 | Release: None | Updated: Feb 22 at 12:51 AM by matty2013 | Created: Jan 3 at 9:17 PM by matty2013

New-Symlink failing silently

PS> New-Symlink .\Microsoft.PowerShellISE_profile.ps1 .\Microsoft.PowerShell_profile.ps1 (no output) PS> cmd /c mklink .\Microsoft.PowerShellISE_profile.ps1 .\Microsoft.PowerShell_profile.ps1 You...

Id #33388 | Release: None | Updated: Feb 22 at 12:51 AM by MartinSGill | Created: Nov 20, 2012 at 9:37 PM by DireKitten

PassThru switch on Expand-Archive does nothing

AFAIK, it should output the FileSystemInfo objects created due to expansion; under PSCX 2.1.0.0 in PowerShell 2.0, no objects are output. I have tested on GZip, Zip, and 7Zip formats.

Id #33327 | Release: None | Updated: Feb 22 at 12:51 AM by tomtrias | Created: Nov 7, 2012 at 5:07 PM by tomtrias

Get-, Add-, Remove-TrustedHost

This is a feature request to add cmdlets that enables an easy way to manage the list of trusted hosts.   In out-of domain workstations, administrators have to use "Set-Item or Get-Item WSMan:\loca...

Id #33130 | Release: None | Updated: Feb 22 at 12:51 AM by tamasflamich | Created: Sep 18, 2012 at 11:57 AM by tamasflamich

write-zip files used by another process

I am new to PowerShell and am trying to create a small program to backup five database files on an hourly basis to a local drive. (This is not the only backup solution being used.) I am employing...

Id #33035 | Release: None | Updated: Feb 22 at 12:51 AM by l0r3zz | Created: Aug 17, 2012 at 12:55 AM by oisin

Send-SmtpMail doesn't use SmtpHost variable?

Was trying to use Send-SmtpMail (admittedly, it's deprecated in favor of Send-MailMessage) and couldn't figure out how to set the SmtpHost variable it was asking for   sshot @ http://i.imgur.com/ru...

Id #32896 | Release: None | Updated: Feb 22 at 12:51 AM by r_keith_hill | Created: Jun 28, 2012 at 4:57 PM by jmanning

provide mechanism for custom prompt themes stored outside PSCX folder (outside of ~\Documents\WindowsPowerShell\Modules)

Currently if I have a custom prompt theme, I have to put a copy of it in the Themes directory (alongside the 3 default ones) on each machine. The relevant lines in Pscx.Prompt.psm1 appear to be:  ...

Id #32853 | Release: None | Updated: Feb 22 at 12:51 AM by jmanning | Created: Jun 14, 2012 at 8:09 PM by jmanning