<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>The poalaone services</title>
	<link>http://gavro.com/poalaone</link>
	<description>Just another Gavro.com weblog</description>
	<pubDate>Mon, 16 Jun 2008 07:11:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Bridges days is by this album cover touring</title>
		<link>http://gavro.com/poalaone/archives/3</link>
		<comments>http://gavro.com/poalaone/archives/3#comments</comments>
		<pubDate>Mon, 16 Jun 2008 07:11:03 +0000</pubDate>
		<dc:creator>poalaone</dc:creator>
		
		<category><![CDATA[2]]></category>

		<category><![CDATA[4]]></category>

		<category><![CDATA[5]]></category>

		<category><![CDATA[6]]></category>

		<category><![CDATA[7]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gavro.com/poalaone/archives/3</guid>
		<description><![CDATA[PS&#62; $preamble &#124; foreach {&#8221;0x{0:X2}&#8221; -f $_}
 &#124; gtn&#8221; or you can pass the variable or expression to
aight forward approach to this is:
 Plus I&#8217;ll always have access to the raw, uncompressed music for future re-encoding in better formats.
r files, SDK header files, C runtime source files, windows DLLs, etc.
Program: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe
you schedule it) when you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>PS&gt; $preamble | foreach {&#8221;0x{0:X2}&#8221; -f $_}
<p> | gtn&#8221; or you can pass the variable or expression to
<p>aight forward approach to this is:
<p> Plus I&#8217;ll always have access to the raw, uncompressed music for future re-encoding in better formats.
<p>r files, SDK header files, C runtime source files, windows DLLs, etc.
<p>Program: C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe
<p>you schedule it) when you&#8217;re typically not using the computer.  Yeah, it cou
<p>        CatalogFolder $path
<p>0xBB
<p>Set-Alias ff Find-Filefunction Find-File($pattern) {
<p>One very unfortunate downside to the ease with which music can be copied is pirac
<p> also test each individual element which isn&#8217;t
<p>            Write-Error &#8220;&#8216;$path&#8217; doesn&#8217;t exist or isn&#8217;t a directory&#8221;
<p>Regarding DRM, I despise it because it isn&#8217;t user friendly.  It tends to be tied to a pa
<p>talog more of the nooks and crannies of my filesystem.  This script cre
<p>ins an particular element.  But as far as I can tell PowerShell doesn&#8217;t &#8220;seem&#8221; to provi
<p>tellectual property and copyrighted ma <a href="http://www.full-body-massage.org/">massage shanghai</a> terial hits close to home.  Aft
<p>the filelis
<p>    Get-ChildItem $path -ErrorActio <a href="http://www.massageinbeijing.org/">massage beijing</a> n SilentlyContinue | sort FullName | foreach {
<p>ates two files setting at the root of eac <a href="http://www.full-body-massage.org/">beijing massage</a> h path supplied.  In my case:
<p>ing with GGD had to expose them to a wider audience.  The reply shou
<p>de an easy way to test if two array&#8217;s contents are equal.
<p>anguage designer - Bruce Payette.  Check out this picture of Bruce on Am
<p>ite is First Time followed closely by Who We Are and Bridges.
<p>ime.  The CatalogFileSystem script runs just once a day (or however often
<p>        if (!(Test-Path $path -PathType Container)) {
<p>        Remove-Item $dirlist  -ErrorAction SilentlyContinue
<p>    }
<p>e every year.  Yeah, I go through new devices that often.
<p>ave to go through to deactivate one device and <a href="http://www.wowpowerleveling-wow.com/">wow gold</a>  activate another g
<p>Arguments: -Command C:\Bin\CatalogFileSystem C:, D:
<p>ongs?  Well most folks will recognize Hanging by a Moment but my favor
<p>        }
<p>0xEF
<p>        $filelist = Join-Path $path filelist.txt
<p>ing for files that have been on my system for a while: C++ heade
<p>use, a relatively newish, great alternati <a href="http://www.wowpowerleveling-wow.com/">wow gold</a> ve rock band.
<p>PS&gt; $preamble -eq $fileHeader | Get-TypeName # Get-T
<p>. Main## End of CatalogFileSystem.ps1
<p>ndex more locations I worry about t <a href="http://www.full-body-massage.org/">massage in beijing</a> he performance hit because the second is
<p>PS&gt; Select-String afxwin\.h \filelist.txt | select LineLine&#8211;
<p> You can either prepend the collection expression
<p>I had seen them last summer as an opening act fo <a href="http://www.wowpowerleveling-wow.com/">wow gold</a> r the Goo Goo Dolls.  I hadn&#8217;t heard of
<p>Lifehouse before but was very impressed with their &#8220;big&#8221; sound.  After that concert I b
<p>    if (!(Test-Path $filelist -PathType Leaf)) {
<p>he input may be an empty collection.
<p>Give Lifehouse a listen, they have some really good tunes and if you li
<p>    }
<p>Effective PowerShell Item 13: Comparing Arrays in Windows PowerShell
<p>azon. I wonder if someone is leading a double life.  <img src='http://gavro.com/poalaone/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  OK now b
<p>solve this problem but it starts with folks internalizing that copying copyri
<p>Get-TypeName as an argument e.g. &#8220;gtn $collection&#8221;.
<p>sue is that the Vista search indexer runs in the background all the t
<p>nvenience scripts like this?  If you do, please add a comment and let me know.
<p>            $_.FullName &gt;&gt; $dirlist
<p>ldn&#8217;t have surprised me but there is nothing like hearing it come right from the
<p>hom they were touring with.  I asked if that helped boost CD sales because tour
<p>This if often quite handy and I was a bit surprised by this apparent omission.
<p>Poor Man&#8217;s File/Directory Name Index <a href="http://www.massageinshanghai.org">massage in shanghai</a> er Using Windows PowerShell
<p>            exit 1
<p>rst off, Vista&#8217;s search doesn&#8217;t index your whole hard drive or any volumes
<p>rticular device instead of a person.  Devices come and go and the pushups you h
<p> bad for a three element array but when you hit say 10 e
<p>        Remove-Item $filelist -ErrorAction SilentlyContinue
<p>            $_.FullName &gt;&gt; $filelist
<p>        if ($_.PSIsContainer) {
<p>other than the contents of C: by default.  While it can be set up to
<p>e - the lead singer.  She w <a href="http://www.full-body-massage.org/">massage shanghai</a> as thrilled.  <img src='http://gavro.com/poalaone/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
<p>Tonight I gave a one hour introductory talk on Windows PowerShell to my local .NET u
<p>et to be a right pain in the rear.  This is one of the reasons I stopped using A
<p>## CatalogFileSystem.ps1param([string[]]$paths)Set-PSDebug -Strict
<p>
<p>earth and very nice.  I even got a picture of my daughter with Jason Wad
<p>While it is easy enough to visually inspect th
<p>ese two arrays directly like so:
<p>}
<p>My scheduled task is configured l <a href="http://www.massageinbeijing.org/">massage beijing</a> ike so (and runs everyday at 4 am):
<p>I also set this task to run with highest privileges on Vista so it can ca
<p>ke what you hear, buy it.  We need  <a href="http://www.chinamassage.org">shanghai massage</a> to support the arts, right?  My favorite s
<p>t I&#8217;ll be teaching my kids.
<p>0xBB
<p>    foreach ($path in $Paths) {
<p>        }
<p>function Main {
<p> with the comma operator e.g. &#8220;,$collection
<p>}And then this sort of filename search gets even easier:
<p>ing and more touring.  That&#8217;s a shame.  I have no idea how to
<p>0xEF
<p>Northern Colorado .NET User Gro <a href="http://www.chinamassage.org">china massage</a> up Windows PowerShell Presentation
<p>PowerShell has a lot of useful operators such as -co <a href="http://www.massageinchina.com/">24 hours massage</a> ntains which tests if an array conta
<p>ossy) music.  I&#8217;d rather do the compression and encoding myself.
<p>utographs.  What a great bunch of guys!  They were all down to
<p>ld be as much as 24 hours out of date but the vast majority of the time I&#8217;m search
<p>        else {
<p>ser group.  The primary focus of this talk was to show how PowerShell should be int
<p>Now you might be wondering why I don&#8217;t just use the search built into Vista.  Well fi
<p>You might think that we could just compare th
<p>lements that approach might starti <a href="http://www.massageinchina.com/">massage</a> n
<p>ting their BOM or byte order mark.  One relatively str
<p>I&#8217;m sure some folks are going to think this is <a href="http://www.full-body-massage.org/">massage in beijing</a>  goofy but honestly I do search
<p> horse&#8217;s mouth.  Their guitarist said that CD sales across the indu
<p>lic.windows.powershell newsgroup.  The poster wanted to find UTF8 encoded files by inspec
<p>        $dirlist  = Join-Path $path <a href="http://www.massageinshanghai.org">massage in shanghai</a>  dirlist.txt
<p>    $filelist = Join-Path $pwd.drive <a href="http://www.full-body-massage.org/">beijing massage</a> .root filelist.txt
<p>d-File (alias ff):
<p>g looking tedious.
<p> PCs to run nightly via a scheduled task:
<p>t.txt file quite often (not so much the dirlist.txt file).  Do you have any similar co
<p>PS&gt; $fileHeader = Get-Content Utf8File.txt -Enc byte -Total 3
<p>eresting to .NET developers.  As promised, here is the slide deck and the samples.  If you have any questions, please let me know.
<p>ypeName is from the PowerShell Community Extensions
<p>            CatalogFolder $_.FullName
<p>The following is a script that I have set up on my dev
<p>PS&gt; $preamble = [System.Text.Encoding]::UTF8.GetPreamble()
<p>ck to our regularly scheduled PowerShell programming.
<p>PS&gt; $fileheader | foreach <a href="http://www.massageinchina.com/">massage</a>  {&#8221;0x{0:X2}&#8221; -f $_}
<p>ghted music without paying for it is stealing.  That&#8217;s certainly wha
<p>In fact I have created a shortcut function for the above I call Fin
<p>Searching for files on my filesystem is now very easy:
<p>y.  I&#8217;m both a musician and a software developer so the notion of protecting in
<p>udible.com.  I got tired of the whole deactivation/activation danc
<p>is and see we have a match, visual inspect
<p>0xBF
<p>I came upon this need to compare arr <a href="http://www.massageinchina.com/">24 hours massage</a> ays while answering a question on the microsoft.pub
<p>        Write-Error &#8220;$filelist doesn&#8217;t exist or isn&#8217;t a file&#8221;
<p>}
<p>stry have tanked.  The only way they <a href="http://www.full-body-massage.org/">massage shanghai</a> &#8216;re making money these days is by touring, tour
<p>I took my 9 year old daughter to her first concert last night.  The band was Lifeho
<p>ought two of their CDs.  Yeah I&#8217;m one of those guys who s
<p>    Select-String $pattern $filelist | foreach {$_.Line}
<p>WARNING: Get-TypeName did not receive any input. T
<p>        }
<p>PS&gt; $preamble -eq 0xbb
<p>ion doesn&#8217;t work in a script.  <img src='http://gavro.com/poalaone/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  You could
<p>    }
<p>till buys CDs because I despise DRM and I don&#8217;t want to buy compressed/encoded (l
<p>BTW for you PowerShellers, check out this album cover:
<p>er the concert, my daughter and I got to meet the band members who were signing a
<p>0xBF
<p>function CatalogFolder($path) {
<p>The bald headed gu <a href="http://www.chinamassage.org">shanghai massage</a> y, who is Lifehouse&#8217;s drummer, looks an awful lot like PowerShell&#8217;s l
<p>I told them that I had seen them a year ago opening for the Goo Goo Dolls w
<p><font color="white"><!--0650a3a2ed4626870021e744a18d4727--></font><br />Related Topics:
<ul>
<li><a href="http://poalaone.hobimasak.com/archives/3">Bridges days is by this album cover touring</a></li>
<li><a href="http://poalaone.120host.net/archives/3">Bridges days is by this album cover touring</a></li>
<li><a href="http://ecomunica.org/blogs/poalaone/archives/3">Bridges days is by this album cover touring</a></li>
</ul>
<p>
]]></content:encoded>
			<wfw:commentRss>http://gavro.com/poalaone/archives/3/feed</wfw:commentRss>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://gavro.com/poalaone/archives/1</link>
		<comments>http://gavro.com/poalaone/archives/1#comments</comments>
		<pubDate>Sun, 15 Jun 2008 17:34:37 +0000</pubDate>
		<dc:creator>poalaone</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to Gavro.com. This is your first post. Edit or delete it, then start blogging!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://gavro.com/">Gavro.com</a>. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://gavro.com/poalaone/archives/1/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
