<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Pscx Forum Rss Feed</title><link>http://www.codeplex.com/Project/ListForums.aspx?ProjectName=PowerShellCX</link><description>Pscx Forum Rss Description</description><item><title>New Post: How to save directory structure with Write-Zip</title><link>http://pscx.codeplex.com/discussions/444105</link><description>&lt;div style="line-height: normal;"&gt;Hi there,&lt;br /&gt;
&lt;br /&gt;
I have written a script in Powershell 3.0 to backup selected files.  But I've run into the same problem mentioned by a couple of other folks here, namely that the directory structure is not being saved.  However in both the posts about this issue and the replies, no fix or workaround was mentioned.&lt;br /&gt;
&lt;br /&gt;
It's really important that I find a solution to this problem.  Otherwise, I'll have to complete re-design the script.&lt;br /&gt;
&lt;br /&gt;
Does anyone know of a successful fix/workaround for this problem?&lt;br /&gt;
&lt;br /&gt;
Thanks very much in advance.&lt;br /&gt;
&lt;br /&gt;
PS.  I am running on Windows 7 Professional 64-bit.&lt;br /&gt;
&lt;/div&gt;</description><author>waltermetcalf</author><pubDate>Fri, 17 May 2013 23:37:51 GMT</pubDate><guid isPermaLink="false">New Post: How to save directory structure with Write-Zip 20130517113751P</guid></item><item><title>New Post: remote session invoke-command write-zip</title><link>http://pscx.codeplex.com/discussions/211737</link><description>&lt;div style="line-height: normal;"&gt;Yes PSCX must be installed on the remote machine.&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Fri, 17 May 2013 15:44:48 GMT</pubDate><guid isPermaLink="false">New Post: remote session invoke-command write-zip 20130517034448P</guid></item><item><title>New Post: Add Password functionality to Write-Zip cmdlet</title><link>http://pscx.codeplex.com/discussions/443162</link><description>&lt;div style="line-height: normal;"&gt;It would be awesome if the Write-Zip cmdlet allowed you to also specify a password to password protect the zip archive with.  I believe Write-Zip uses the same core libraries as 7zip, and 7zip is able to set passwords on zip archives.  Of course, if this functionality is added to Write-Zip, the ability to specify a password to unzip a zip archive should also be added to Expand-Zip.&lt;br /&gt;
&lt;/div&gt;</description><author>deadlydog</author><pubDate>Thu, 09 May 2013 20:09:55 GMT</pubDate><guid isPermaLink="false">New Post: Add Password functionality to Write-Zip cmdlet 20130509080955P</guid></item><item><title>New Post: remote session invoke-command write-zip</title><link>http://pscx.codeplex.com/discussions/211737</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
sorry for refreshing that old stuff here... &lt;br /&gt;
I started using PSCX today and I get the same error as shown above doing similar stuff.&lt;br /&gt;
&lt;h3&gt;&lt;/h3&gt;
$SESSION = New-PSSession -ComputerName $SERVER_NAME -Credential $CRED&lt;br /&gt;
Invoke-Command -Session $SESSION -ScriptBlock &lt;br /&gt;
{	&lt;br /&gt;
Import-Module PSCX&lt;br /&gt;
Write-Zip -Path $PATH -OutputPath test.zip -IncludeEmptyDirectories&lt;br /&gt;
}&lt;br /&gt;
&lt;h3&gt;&lt;/h3&gt;
I'll have to zip files remotly on different maschines in different domains... so acutally my question is:&lt;br /&gt;
&lt;br /&gt;
Do I have to install the PSCX extension on the remote maschine??&lt;br /&gt;
&lt;/div&gt;</description><author>birdbirdbird</author><pubDate>Thu, 25 Apr 2013 07:31:47 GMT</pubDate><guid isPermaLink="false">New Post: remote session invoke-command write-zip 20130425073147A</guid></item><item><title>New Post: Edit-File using the PowerShell 3.0 ISE?</title><link>http://pscx.codeplex.com/discussions/436503</link><description>&lt;div style="line-height: normal;"&gt;Just change the editor pref variable from notepad.exe to powershell_ise.exe.&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Wed, 13 Mar 2013 18:22:00 GMT</pubDate><guid isPermaLink="false">New Post: Edit-File using the PowerShell 3.0 ISE? 20130313062200P</guid></item><item><title>New Post: Edit-File using the PowerShell 3.0 ISE?</title><link>http://pscx.codeplex.com/discussions/436503</link><description>&lt;div style="line-height: normal;"&gt;What's the anticipated mechanism to make Edit-File work well with the ISE editor in PSCX 3.0? &lt;br /&gt;
&lt;br /&gt;
Can I do this simply by changing the editor preference variable, or do I need to replace the Edit-File function?   &lt;br /&gt;
&lt;/div&gt;</description><author>BurtHarris</author><pubDate>Wed, 13 Mar 2013 17:42:53 GMT</pubDate><guid isPermaLink="false">New Post: Edit-File using the PowerShell 3.0 ISE? 20130313054253P</guid></item><item><title>New Post: Get-Reparsepoint source code</title><link>http://pscx.codeplex.com/discussions/433518</link><description>&lt;div style="line-height: normal;"&gt;Take a look at the &lt;a href="http://pscx.codeplex.com/SourceControl/changeset/view/100892#1357820" rel="nofollow"&gt;ReparsePointHelper&lt;/a&gt; class.&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Thu, 28 Feb 2013 21:43:15 GMT</pubDate><guid isPermaLink="false">New Post: Get-Reparsepoint source code 20130228094315P</guid></item><item><title>New Post: Get-Reparsepoint source code</title><link>http://pscx.codeplex.com/discussions/433518</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br /&gt;
I'm trying to learn how to find a reparsepoint target.&lt;br /&gt;
While I've been able to understand if a folder is a junction or not, I've found no way short of FSUTIL to find a Junction's Target.&lt;br /&gt;
&lt;br /&gt;
Searching around, it seems that the cmdlet get-reparsepoint does exactly what I need, but browsing the src repository I've been unable to find it.. can someone please point me to the right path?&lt;br /&gt;
Thanks :)&lt;br /&gt;
&lt;/div&gt;</description><author>ilgrank</author><pubDate>Mon, 18 Feb 2013 10:57:29 GMT</pubDate><guid isPermaLink="false">New Post: Get-Reparsepoint source code 20130218105729A</guid></item><item><title>New Post: Installation issue</title><link>http://pscx.codeplex.com/discussions/433351</link><description>&lt;div style="line-height: normal;"&gt;At this point, the 2.1 branch is pretty much done other than bug fixes.  BTW previous to 2.x we provided an MSI but then got a number of complaints that folks wanted xcopy which is why 2.x is provided in xcopy form.  We learned enough about the pitfalls of xcopy deployment that we didn't make that mistake again for 3.0.  :-)&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Sun, 17 Feb 2013 22:10:32 GMT</pubDate><guid isPermaLink="false">New Post: Installation issue 20130217101032P</guid></item><item><title>New Post: Installation issue</title><link>http://pscx.codeplex.com/discussions/433351</link><description>&lt;div style="line-height: normal;"&gt;Thanks for your comprehension.. I was puzzled because I clearly remembered being able to install it some (months? year?) ago, but I could not figure out what I was doing wrong! &lt;br /&gt;
If I understand correctly, the PSCX 3.0 uses a different (MSI) way of installing.. wouldn't be easier if 2.x branch did it the same way?&lt;br /&gt;
Again, thanks&lt;br /&gt;
&lt;/div&gt;</description><author>ilgrank</author><pubDate>Sun, 17 Feb 2013 18:03:32 GMT</pubDate><guid isPermaLink="false">New Post: Installation issue 20130217060332P</guid></item><item><title>New Post: [PS 2.0 PSCX 2.2.1] Cannot install module</title><link>http://pscx.codeplex.com/discussions/431020</link><description>&lt;div style="line-height: normal;"&gt;FYI, I have uploaded a new Pscx-2.1.1.zip file where the contained folder is named just Pscx (not Pscx-2.1.1).  That should help avoid this problem in the future - I hope.&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Sat, 16 Feb 2013 18:12:55 GMT</pubDate><guid isPermaLink="false">New Post: [PS 2.0 PSCX 2.2.1] Cannot install module 20130216061255P</guid></item><item><title>New Post: How to descompress Gzip archive.</title><link>http://pscx.codeplex.com/discussions/433170</link><description>&lt;div style="line-height: normal;"&gt;This has been fixed in 2.1.1.  Can you update to either the 2.1.1 or the 3.0 (PowerShell 3.0 only) version of Pscx?&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Sat, 16 Feb 2013 18:11:25 GMT</pubDate><guid isPermaLink="false">New Post: How to descompress Gzip archive. 20130216061125P</guid></item><item><title>New Post: Installation issue</title><link>http://pscx.codeplex.com/discussions/433351</link><description>&lt;div style="line-height: normal;"&gt;This has happened to a couple of folks now.  I just uploaded a new ZIP still named Pscx-2.1.1.zip but the folder inside the zip is called Pscx.  That should hopefully help folks avoid this issue. Sorry for the inconvenience.&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Sat, 16 Feb 2013 18:05:33 GMT</pubDate><guid isPermaLink="false">New Post: Installation issue 20130216060533P</guid></item><item><title>New Post: Installation issue</title><link>http://pscx.codeplex.com/discussions/433351</link><description>&lt;div style="line-height: normal;"&gt;Thanks for the advice!&lt;br /&gt;
It din't work at first.. the readme file was a bit confusing, as the folder inside the zip file is named pscx2.21 and so it did not match the the instructions.&lt;br /&gt;
Many thanks for the help!&lt;br /&gt;
&lt;/div&gt;</description><author>ilgrank</author><pubDate>Sat, 16 Feb 2013 17:19:58 GMT</pubDate><guid isPermaLink="false">New Post: Installation issue 20130216051958P</guid></item><item><title>New Post: Installation issue</title><link>http://pscx.codeplex.com/discussions/433351</link><description>&lt;div style="line-height: normal;"&gt;Did you try putting everything in a folder called Pscx in your Module path?&lt;br /&gt;
&lt;br /&gt;
E.g. C:\Users\Mark\Documents\WindowsPowerShell\Modules\Pscx\&lt;br /&gt;
&lt;/div&gt;</description><author>RudySchockaert</author><pubDate>Sat, 16 Feb 2013 16:08:39 GMT</pubDate><guid isPermaLink="false">New Post: Installation issue 20130216040839P</guid></item><item><title>New Post: Installation issue</title><link>http://pscx.codeplex.com/discussions/433351</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br /&gt;
I'm having a strange installation issue (and I've had it only on this one machine): basically, this is a W7 x64 install, and no matter where I put the pscx files:&lt;br /&gt;
c:\windows\system32\windowspowershell\v1.0\Modules\&lt;br /&gt;
c:\windows\syswow64\windowspowershell\v1.0\Modules\&lt;br /&gt;
c:\users\mark\Documents\WindowsPowerShell\Modules\&lt;br /&gt;
&lt;br /&gt;
when I try to import the module, I get a file not found error even tho the files are there:&lt;br /&gt;
&lt;br /&gt;
Import-Module : The specified module 'Pscx' was not loaded because no valid module file was found in any module directory.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;At line:1 char:14
+ import-module &amp;lt;&amp;lt;&amp;lt;&amp;lt;  Pscx
    + CategoryInfo          : ResourceUnavailable: (Pscx:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Comm
   ands.ImportModuleCommand&lt;/code&gt;&lt;/pre&gt;

&lt;img src="http://s8.postimage.org/wwy8rgjn9/pscx.jpg" alt="Image" /&gt;&lt;br /&gt;
&lt;br /&gt;
now I'm surely missing something, and I beg everyone pardon, but I'm banging my head at this since a couple of hours and I can't install.. what I'm doing wrong?&lt;br /&gt;
Thanks everyone!&lt;br /&gt;
&lt;br /&gt;
Btw: If I specify the FULL path to the pscx files, it does find it, but that's not how it should work.. I would want to install for every user. here's my __$env:psmodulepath__:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;PS C:\&amp;gt; $env:psmodulepath
C:\Users\Mark\Documents\WindowsPowerShell\Modules;C:\Windows\system32\Windo
wsPowerShell\v1.0\Modules\&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>ilgrank</author><pubDate>Sat, 16 Feb 2013 09:27:42 GMT</pubDate><guid isPermaLink="false">New Post: Installation issue 20130216092742A</guid></item><item><title>New Post: Call to ReadKey Crashes EXE</title><link>http://pscx.codeplex.com/discussions/433203</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p dir="ltr"&gt;You probably can't refer to $host in scripts you convert to exe at all. (Usually) when you convert to whole .exe it doesn't run in PowerShell.exe, so there is no host. None of the read-host write-host stuff will function.&lt;/p&gt;
&lt;/div&gt;</description><author>Jaykul</author><pubDate>Fri, 15 Feb 2013 02:12:53 GMT</pubDate><guid isPermaLink="false">New Post: Call to ReadKey Crashes EXE 20130215021253A</guid></item><item><title>New Post: Call to ReadKey Crashes EXE</title><link>http://pscx.codeplex.com/discussions/433203</link><description>&lt;div style="line-height: normal;"&gt;wrong forum --- please delete thread :)&lt;br /&gt;
&lt;/div&gt;</description><author>Hossy923</author><pubDate>Thu, 14 Feb 2013 22:09:51 GMT</pubDate><guid isPermaLink="false">New Post: Call to ReadKey Crashes EXE 20130214100951P</guid></item><item><title>New Post: How to descompress Gzip archive.</title><link>http://pscx.codeplex.com/discussions/433170</link><description>&lt;div style="line-height: normal;"&gt;In Pscx2.0.0.1&lt;br /&gt;
&lt;br /&gt;
How to descompress Gzip archive.&lt;br /&gt;
&lt;br /&gt;
Write-GZip -Path &amp;quot;c:\z\url.txt&amp;quot;   --  work  &lt;br /&gt;
&lt;br /&gt;
but &lt;br /&gt;
Expand-Archive -Path &amp;quot;C:\Z\url.txt.gz&amp;quot;  ---- throw exception &lt;br /&gt;
&lt;br /&gt;
Expand-Archive : Error reading index 0&lt;br /&gt;
En línea: 1 Carácter: 15&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
Expand-Archive &amp;lt;&amp;lt;&amp;lt;&amp;lt;  -Path &amp;quot;C:\Z\url.txt.gz&amp;quot;
&lt;ul&gt;
&lt;li&gt;CategoryInfo          : ReadError: (:) [Expand-Archive], ArgumentException&lt;/li&gt;
&lt;li&gt;FullyQualifiedErrorId : ArchiveReadFail,Pscx.Commands.IO.Compression.ExpandArchiveCommand  
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>yodelmis</author><pubDate>Thu, 14 Feb 2013 17:13:10 GMT</pubDate><guid isPermaLink="false">New Post: How to descompress Gzip archive. 20130214051310P</guid></item><item><title>New Post: Write-Zip throws exception on -Append</title><link>http://pscx.codeplex.com/discussions/430324</link><description>&lt;div style="line-height: normal;"&gt;Well, I can duplicate the error.  I'll try to take a look at it this weekend.&lt;br /&gt;
&lt;/div&gt;</description><author>r_keith_hill</author><pubDate>Sat, 09 Feb 2013 02:21:24 GMT</pubDate><guid isPermaLink="false">New Post: Write-Zip throws exception on -Append 20130209022124A</guid></item></channel></rss>