<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/microsoft.public.windows.powershell</id>
  <title type="text">microsoft.public.windows.powershell Google Group</title>
  <subtitle type="text">
  </subtitle>
  <link href="/group/microsoft.public.windows.powershell/feed/atom_v1_0_msgs.xml" rel="self" title="microsoft.public.windows.powershell feed"/>
  <updated>2008-07-24T21:22:00Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Frank</name>
  <email>fr...@discussions.microsoft.com</email>
  </author>
  <updated>2008-07-24T21:22:00Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/d09a10cc6bd91d40/5fdacc531c8026cc?show_docid=5fdacc531c8026cc</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/d09a10cc6bd91d40/5fdacc531c8026cc?show_docid=5fdacc531c8026cc"/>
  <title type="text">powershell resource constraints</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I have a general question regarding the powershell console. Are there &lt;br&gt; resource constraints? A co-worker of mine says that when he runs an &lt;br&gt; application, it would use most of the 16gigs of memory the server has. When &lt;br&gt; he runs the same application on the same server, it is only using 5 gigs of
  </summary>
  </entry>
  <entry>
  <author>
  <name>KeithK</name>
  <email>kei...@discussions.microsoft.com</email>
  </author>
  <updated>2008-07-24T20:56:06Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/e2e067ff5f5bbdb5/e79f79ac7dda354c?show_docid=e79f79ac7dda354c</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/e2e067ff5f5bbdb5/e79f79ac7dda354c?show_docid=e79f79ac7dda354c"/>
  <title type="text">Re: Add servers to a security group</title>
  <summary type="html" xml:space="preserve">
  Thanks Kirk! I am getting the following error message: &lt;br&gt; Missing an argument for parameter &#39;Connection&#39;. Specify a parameter of type &lt;br&gt; &#39;Quest.ActiveRoles.ArsPowerShe llSnapIn.Data.ArsConnection&#39; and try again. &lt;br&gt; At line 19, position 0 &lt;br&gt; ForEach-Object {
  </summary>
  </entry>
  <entry>
  <author>
  <name>Flowering Weeds</name>
  <email>floweringnoweed...@hotmail.com</email>
  </author>
  <updated>2008-07-24T20:36:19Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/911ab8bf1a0dd421?show_docid=911ab8bf1a0dd421</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/911ab8bf1a0dd421?show_docid=911ab8bf1a0dd421"/>
  <title type="text">Re: using multiple filters when searching</title>
  <summary type="html" xml:space="preserve">
  Mmm (local or remote) &lt;br&gt; file system data parsing? &lt;br&gt; LogParser.exe -h -i:fs &lt;br&gt; Input format: FS (FileSystem properties) &lt;br&gt; Returns properties of files and folders &lt;br&gt; Perhaps one can even &lt;br&gt; write the Log Parser query once, &lt;br&gt; in a plain text file &lt;br&gt; (that accepts params) &lt;br&gt; and store this text file &lt;br&gt; in a network location &lt;br&gt; that all
  </summary>
  </entry>
  <entry>
  <author>
  <name>Flowering Weeds</name>
  <email>floweringnoweed...@hotmail.com</email>
  </author>
  <updated>2008-07-24T20:36:28Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/0a719585cc45dbcf/37d12d1c9c0e93f3?show_docid=37d12d1c9c0e93f3</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/0a719585cc45dbcf/37d12d1c9c0e93f3?show_docid=37d12d1c9c0e93f3"/>
  <title type="text">Re: Piping regex match to commands</title>
  <summary type="html" xml:space="preserve">
  Mmm data parsing and at the command line &lt;br&gt; too (or via COM or .NET &amp;quot;scripting&amp;quot;)! &lt;br&gt; Perhaps use almost any &lt;br&gt; Windows based product, &lt;br&gt; but here using PowerShell: &lt;br&gt; All one long command line (with a &lt;br&gt; space between most words)! &lt;br&gt; $list | &lt;br&gt; LogParser.exe &amp;quot;SELECT &lt;br&gt; TRIM( EXTRACT_TOKEN( text, 1, &#39;?&#39;) ) &lt;br&gt; FROM STDIN &amp;quot; -i:textline -q:on | foreach {
  </summary>
  </entry>
  <entry>
  <author>
  <name>Flowering Weeds</name>
  <email>floweringnoweed...@hotmail.com</email>
  </author>
  <updated>2008-07-24T20:36:38Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ce9f78dae044cf37/89bd96abef167c0b?show_docid=89bd96abef167c0b</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ce9f78dae044cf37/89bd96abef167c0b?show_docid=89bd96abef167c0b"/>
  <title type="text">Re: Windows PowerShell Scrolling Screen</title>
  <summary type="html" xml:space="preserve">
  Mmm if one wants to pick the number of lines &lt;br&gt; to display or to use a data grid to scroll the whole &lt;br&gt; list in, well just use one&#39;s everyday data parser, &lt;br&gt; Log Parser. &lt;br&gt; LogParser.exe -h -o:nat &lt;br&gt; Output format: NAT (Native Format) &lt;br&gt; Displays output records in the console window &lt;br&gt; INTO syntax: &lt;br&gt; &amp;lt;filename&amp;gt; | STDOUT | &amp;lt;empty&amp;gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shay Levy [ MVP ]</name>
  <email>n...@addre.ss</email>
  </author>
  <updated>2008-07-24T20:02:49Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/d38f241a7042d29d?show_docid=d38f241a7042d29d</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/d38f241a7042d29d?show_docid=d38f241a7042d29d"/>
  <title type="text">Re: using multiple filters when searching</title>
  <summary type="html" xml:space="preserve">
  I removed the outer quotes cause otherwise the command is just a string, &lt;br&gt; PowerShell won&#39;t execute it (unless invoked): &lt;br&gt; PS &amp;gt; $fc = &#39;cmd /c dir c:\windows /b /s | findstr /r &amp;quot;\.txt$ .\log$&amp;quot; &#39; &lt;br&gt; PS &amp;gt; $fc &lt;br&gt; cmd /c dir c:\windows /b /s | findstr /r &amp;quot;\.txt$ .\log$&amp;quot; &lt;br&gt; PS &amp;gt; measure-command {$fc = dir c:\windows -r -inc *.txt,*.log}
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shay Levy [ MVP ]</name>
  <email>n...@addre.ss</email>
  </author>
  <updated>2008-07-24T20:36:17Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/68ec938ce9b9fab7?show_docid=68ec938ce9b9fab7</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/68ec938ce9b9fab7?show_docid=68ec938ce9b9fab7"/>
  <title type="text">Re: using multiple filters when searching</title>
  <summary type="html" xml:space="preserve">
  I performed multiple tests (even reversed the commands order) on WinXP and &lt;br&gt; Vista SP1 with CTP2 (no x64). &lt;br&gt; --- &lt;br&gt; Shay Levy &lt;br&gt; Windows PowerShell MVP &lt;br&gt; blog: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://blogs.microsoft.co.il/blogs/ScriptFanatic&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; A&amp;gt; Did you perform multiple tests? With mine, I actually captured the &lt;br&gt; A&amp;gt; data so rendering was not involved, and did multiple passes each way
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shay Levy [ MVP ]</name>
  <email>n...@addre.ss</email>
  </author>
  <updated>2008-07-24T20:32:48Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/08697a1fd89324bf/eb2c020e02c4620c?show_docid=eb2c020e02c4620c</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/08697a1fd89324bf/eb2c020e02c4620c?show_docid=eb2c020e02c4620c"/>
  <title type="text">Re: Pull last saved info from a file.</title>
  <summary type="html" xml:space="preserve">
  For ANY file type you&#39;ll have to enable auditing and poll the security event &lt;br&gt; log. If there&#39;s such property for Office files &lt;br&gt; then the Dsofile.dll com component may help you get it: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://support.microsoft.com/kb/224351&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; --- &lt;br&gt; Shay Levy &lt;br&gt; Windows PowerShell MVP &lt;br&gt; blog: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://blogs.microsoft.co.il/blogs/ScriptFanatic&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shawn</name>
  <email>sh...@discussions.microsoft.com</email>
  </author>
  <updated>2008-07-24T18:45:00Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/08697a1fd89324bf/cf08f0a64f360787?show_docid=cf08f0a64f360787</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/08697a1fd89324bf/cf08f0a64f360787?show_docid=cf08f0a64f360787"/>
  <title type="text">Re: Pull last saved info from a file.</title>
  <summary type="html" xml:space="preserve">
  Thanks! Can you do this for WHO last modified it? &lt;br&gt; Shawn
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alex K. Angelopoulos at</name>
  <email></email>
  </author>
  <updated>2008-07-24T18:30:23Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/37c08bf3aea14f44/05082e54225afbcb?show_docid=05082e54225afbcb</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/37c08bf3aea14f44/05082e54225afbcb?show_docid=05082e54225afbcb"/>
  <title type="text">Re: Please share some tips on powershell performance - ctp2</title>
  <summary type="html" xml:space="preserve">
  This restriction would require explicit mention in the CTP license, so it&#39;s &lt;br&gt; open. FWIW, nothing seems to be spectacularly different in terms of &lt;br&gt; performance; I have yet to notice anything that has a performance hit &lt;br&gt; compared to PS1.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Frank</name>
  <email>fr...@discussions.microsoft.com</email>
  </author>
  <updated>2008-07-24T18:22:04Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/78701674d722a771/f3733fb4cf881876?show_docid=f3733fb4cf881876</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/78701674d722a771/f3733fb4cf881876?show_docid=f3733fb4cf881876"/>
  <title type="text">RE: how to sort filenames numerically</title>
  <summary type="html" xml:space="preserve">
  Truely amazing, this works. Thanks Kiron. Can you explain how this works? &lt;br&gt; I have modified to a short script so I can understand. Here is what I think &lt;br&gt; it does: &lt;br&gt; $numerical = { &lt;br&gt; if ($_.name -match &#39;\D+(\d+)\D+&#39;) { &lt;br&gt; [int]($_.name -replace &#39;\D+(\d+)\D+&#39;,&#39;$1&#39;) &lt;br&gt; } &lt;br&gt; ls test*.txt | sort $numerical &lt;br&gt; List out all test*.txt files, pipe to sort which has a script block with a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alex K. Angelopoulos at</name>
  <email></email>
  </author>
  <updated>2008-07-24T18:23:11Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/9cb41465a84a21ee?show_docid=9cb41465a84a21ee</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/9cb41465a84a21ee?show_docid=9cb41465a84a21ee"/>
  <title type="text">Re: using multiple filters when searching</title>
  <summary type="html" xml:space="preserve">
  I found the cause of the slower processing. You unwrapped the pipeline; it&#39;s &lt;br&gt; the difference between this &lt;br&gt; $fc = &#39;cmd /c dir c:\windows /b /s | findstr /r &amp;quot;\.txt$ .\log$&amp;quot; &#39; &lt;br&gt; and this: &lt;br&gt; $fc = cmd /c dir /s /b c:\windows | findstr /r &amp;quot;\.txt$ \.log$&amp;quot; &lt;br&gt; The external single-quotes ensure that the piping into findstr is part of
  </summary>
  </entry>
  <entry>
  <author>
  <name>Justin Rich</name>
  <email>jrich...@yahoo.spam.com</email>
  </author>
  <updated>2008-07-24T17:59:17Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/3931616040c51f7d/3b1e472718feec2f?show_docid=3b1e472718feec2f</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/3931616040c51f7d/3b1e472718feec2f?show_docid=3b1e472718feec2f"/>
  <title type="text">Re: string manipulation</title>
  <summary type="html" xml:space="preserve">
  got to love regex :D &lt;br&gt; Thanks &lt;br&gt; Justin
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alex K. Angelopoulos at</name>
  <email></email>
  </author>
  <updated>2008-07-24T17:46:48Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/c65c6e3b4c415297?show_docid=c65c6e3b4c415297</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/ef688642afa6c8ba/c65c6e3b4c415297?show_docid=c65c6e3b4c415297"/>
  <title type="text">Re: using multiple filters when searching</title>
  <summary type="html" xml:space="preserve">
  Did you perform multiple tests? With mine, I actually captured the data so &lt;br&gt; rendering was not involved, and did multiple passes each way since initial &lt;br&gt; caching seemed to affect performance. On the first pass over the documents &lt;br&gt; with each method, they took substantially longer. &lt;br&gt; Also, are you using 32-bit Windows? I used the 64-bit cmd.exe and PowerShell
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shawn</name>
  <email>sh...@discussions.microsoft.com</email>
  </author>
  <updated>2008-07-24T16:16:00Z</updated>
  <id>http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/08697a1fd89324bf/92974d31230de5b2?show_docid=92974d31230de5b2</id>
  <link href="http://groups.google.com/group/microsoft.public.windows.powershell/browse_thread/thread/08697a1fd89324bf/92974d31230de5b2?show_docid=92974d31230de5b2"/>
  <title type="text">Re: Pull last saved info from a file.</title>
  <summary type="html" xml:space="preserve">
  Yes. The last modified by name is what I am after. Thanks!
  </summary>
  </entry>
</feed>
