<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for Jaykul</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#usercomments-f08d9f90" type="application/json"/><link>http://disqus.com/people/Jaykul/</link><description></description><language>en</language><lastBuildDate>Tue, 28 Oct 2008 12:24:53 -0000</lastBuildDate><item><title>Re: Seeking DVR &amp;#038; cable-spliter recommendations&amp;#8230;</title><link>http://HuddledMasses.org/seeking-dvr-cable-spliter-recommendations/#comment-3344002</link><description>Yes, but it's a rather expensive choice ...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 28 Oct 2008 12:24:53 -0000</pubDate></item><item><title>Re: Vista Thumbnailer</title><link>http://HuddledMasses.org/vista-thumbnailer/#comment-3245618</link><description>The download has a .config file which should let you change your hotkey.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Wed, 22 Oct 2008 22:44:15 -0000</pubDate></item><item><title>Re: Writing Cmdlets for the PowerShell Pipeline</title><link>http://HuddledMasses.org/writing-cmdlets-for-the-powershell-pipeline/#comment-3197433</link><description>Yeah. The problem is ... I don't want to clarify the input object behavior -- I think the current behavior is wrong.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 21 Oct 2008 00:31:56 -0000</pubDate></item><item><title>Re: Window GUI Automation from PowerShell</title><link>http://HuddledMasses.org/window-gui-automation-from-powershell/#comment-3003080</link><description>Yeah, that should be possible. If it's modal, it should be the "active" window anyway, so you should be able to get it that way, or just send-keys and have them go to it by default...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Sat, 11 Oct 2008 21:49:10 -0000</pubDate></item><item><title>Re: PowerShell dig (nslookup) Cmdlet!</title><link>http://HuddledMasses.org/powershell-dig-nslookup-cmdlet/#comment-2587529</link><description>Hm? Was I not supposed to be able to do that? 8O&lt;br&gt;&lt;br&gt;Well, I'm honestly not sure what I did differently than anyone else. It's a pretty straight-forward 32bit assembly project, with my cut-and paste version of a PSSnapin module. Anyone who wants to, is, of course, free to work from my GPL project template :D</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 23 Sep 2008 22:15:01 -0000</pubDate></item><item><title>Re: PowerShell dig (nslookup) Cmdlet!</title><link>http://HuddledMasses.org/powershell-dig-nslookup-cmdlet/#comment-2587524</link><description>Ok, the install.ps1 script just registers the snapin (although it should have made a copy named "PoshNet_installed.dll" not just "_installed.dll", so that's weird).&lt;br&gt;&lt;br&gt;Basically, it just runs InstallUtil.exe and it's really for my purposes in development, because it copies the dll before registering it, so I can recompile even if the dll is loaded in a host.&lt;br&gt;&lt;br&gt;Assuming the install worked correctly, neither of the commands you ran is the right one to find it.  You need to check for *registered* snapins, because the Install.ps1 script doesn't @Add-PSSnapin@ unless you pass it the @-Add@ parameter.&lt;br&gt;&lt;br&gt;The full process is like this, and if you're on Vista, you have to run install.ps1 in an elevated console.  I've added this to the main post, but basically, you need to do something like this:&lt;br&gt;&lt;br&gt;&lt;code lang="posh"&gt;&lt;br&gt;Extract-Archive PoshNet.zip      # Unzip the archive somewhere...&lt;br&gt;.\Install.ps1 PoshNet.dll        # Run InstallUtil on the assembly&lt;br&gt;Get-PsSnapin -registered PoshNet # Verify that PoshNet is installed&lt;br&gt;Add-PsSnapin PoshNet             # Load it. (Add this to your profile?)&lt;br&gt;Get-Command -PsSnapin PoshNet    # Verify that it is loaded...&lt;/code&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Mon, 22 Sep 2008 21:22:53 -0000</pubDate></item><item><title>Re: PowerShell dig (nslookup) Cmdlet!</title><link>http://HuddledMasses.org/powershell-dig-nslookup-cmdlet/#comment-2587527</link><description>*@seaJhawk* You're welcome ;-)&lt;br&gt;&lt;br&gt;*@Lance Robinson*  Yeah, "hobbyist" licenses remind me a bit of the whole "first hit's free" marketing plan ;) ... but I didn't even think theirs might support looking up different types at once, good job.&lt;br&gt;&lt;br&gt;I should check theirs out to see how they format their output. This class from CodePlex is dying for a decent ps1xml format file with some scripting to unwrap things. ;)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Sat, 20 Sep 2008 19:04:03 -0000</pubDate></item><item><title>Re: Is PowerShell $ShellId too big a burden?</title><link>http://HuddledMasses.org/is-powershell-shellid-too-big-a-burden/#comment-2587520</link><description>*@Chad* Well, that's interesting (and now you know *why* it doesn't support Add-PSSnapin).  I'm going to check if Add-Module behaves the same way. If it doesn't, maybe I'll just officially deprecate PSSnapins in PoshConsole.&lt;br&gt;&lt;br&gt;By the way, (I posted this in your WorkItem too) depending on what other PowerShell hosts you use, you might want to move the loading of the PSCX profile stuff into a separate script which gets called from Microsoft.PowerShell_profile.ps1 (and/or other host-specific profile scripts). That way it wouldn't get loaded by the SQLPS (Profile.ps1 is supposed to be host-agnostic). I must admit though, a host that doesn't do snapins feels a little pointless to me ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Sat, 20 Sep 2008 18:25:30 -0000</pubDate></item><item><title>Re: Window GUI Automation from PowerShell</title><link>http://HuddledMasses.org/window-gui-automation-from-powershell/#comment-2587435</link><description>For CTP2, you need to *either* put the dll into a specific folder ... @Documents\WindowsPowerShell\Packages\WindowsAutomation\WindowsAutomation.dll@ in which case you'll be able to call just:&lt;br&gt;&lt;br&gt;Add-Module WindowsAutomation&lt;br&gt;&lt;br&gt;Otherwise, you can load it by specifying the path to the actual .dll:&lt;br&gt;&lt;br&gt;Add-Module .\WindowsAutomation.dll</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Thu, 18 Sep 2008 08:28:04 -0000</pubDate></item><item><title>Re: Window GUI Automation from PowerShell</title><link>http://HuddledMasses.org/window-gui-automation-from-powershell/#comment-2587432</link><description>You need to run "Get-Help about_signing" as it suggests.  By default PowerShell requires everything to be cryptographically signed.  My stuff isn't, so you have to use the "Set-ExecutionPolicy" cmdlet to set your policy to "RemoteSigned"... and you might have to "unblock" the script (this is all described in the "Get-Help about_signing" document.&lt;br&gt;&lt;br&gt;If you're using CTP2, you can use Add-Module instead of using the installer.&lt;br&gt;&lt;br&gt;Also, you should use the version on "CodePlex":http://CodePlex.com/WASP because it's been updated from the one I posted. I've changed that in the article.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Wed, 17 Sep 2008 23:26:32 -0000</pubDate></item><item><title>Re: Is PowerShell $ShellId too big a burden?</title><link>http://HuddledMasses.org/is-powershell-shellid-too-big-a-burden/#comment-2587515</link><description>I know there are a few ways to determine which host I'm running in, and I've even created a sort-of "standard" for checking if the Host has WPF capabilities: @if($Host.PrivateData.XamlUI)@ ... so that hypothetically other people could write Hosts that could support these cmdlets. &lt;br&gt;&lt;br&gt;I could even throw my own errors to make it look roughly the same as a #requires statement would look.&lt;br&gt;&lt;br&gt;The thing is, there's a built-in mechanism for handling requirements like this ... and I can't make it work! (And that's driving my crazy).&lt;br&gt;&lt;br&gt;Of course, on top of the "it should be easy" argument (which seems to indicate that this system is designed wrong) ... we've been discussing the ability to filter search results on &lt;a href="http://PoshCode.org" rel="nofollow"&gt;PoshCode.org&lt;/a&gt; based on requirements, which would work if we could parse for #requires statements, but wouldn't have any way of knowing that an if() statement was actually a requirement instead of just a logic branch -- so I'd really like the #requires system to work ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 16 Sep 2008 08:20:49 -0000</pubDate></item><item><title>Re: Register DLL - Calling RegSvr32 without MessageBoxes in PowerShell</title><link>http://HuddledMasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/#comment-2587381</link><description>Peter: what do mean? Yes, of course you can test the return code -- that's the whole point of this script...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Fri, 12 Sep 2008 22:50:05 -0000</pubDate></item><item><title>Re: PowerShell XMPP (Jabber) Snapin</title><link>http://HuddledMasses.org/powershell-xmpp-jabber-snapin/#comment-2587443</link><description>I don't really know ... probably not -- since you're going through a Jabber server, the SSL session would have to be from the Jabber server to the IRC server.  FreeNode doesn't really do SSL, so I've never even checked to see if any Jabber-IRC transports support it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 09 Sep 2008 23:08:23 -0000</pubDate></item><item><title>Re: Separating SvcHost Services</title><link>http://HuddledMasses.org/separating-svchost-services/#comment-2584469</link><description>Jeff E: I've made edits to the original story above, but you can just run @sc.exe config@ with no parameters to see the help for config, or @sc.exe@ with no params to see the help for the whole command, or you can read the Knowledge Base article "kb 251192":http://support.microsoft.com/kb/251192/en-us and you can find more information about using this method to debug services in "kb 934650":http://support.microsoft.com/kb/934650/en-us</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Sun, 17 Aug 2008 09:22:28 -0000</pubDate></item><item><title>Re: A cry for help with NHibernate &amp;#8230;</title><link>http://HuddledMasses.org/a-cry-for-help-with-nhibernate/#comment-2587509</link><description>At the end of the day, I've fallen back on writing a custom data access layer with LINQ to SQL in order to finish the project.  &lt;br&gt;&lt;br&gt;I could do the same thing with NHibernate, but I'm not going to introduce a new non-Microsoft dependency to a project _someone else_ will most likely end up maintaining if it doesn't gain me anything, that's like asking someone to learn calculus before I let them balance my checkbook -- if learning calculus meant I didn't have to balance the checkbook by hand, it might be worth it...&lt;br&gt;&lt;br&gt;I'm not content with the end result because the business objects aren't POCO (Plain Old CLR Objects) now (I could make POCO objects, but taking the persistence out means I loose lazy loading). &lt;br&gt;&lt;br&gt;&lt;br&gt;Also, I had to leave a few @EntitySet@ collection properties exposed, because LINQ goes into a tail spin during my unit-tests if I try to actually claim @IEnumerable@ on the @Factor@ objects ... I had never seen the @Operation could destabilize the runtime@ error before!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Mon, 11 Aug 2008 10:41:22 -0000</pubDate></item><item><title>Re: New PoshCode features from July 2008</title><link>http://HuddledMasses.org/new-poshcode-features-from-july-2008/#comment-2587503</link><description>Yeah, Code-Signing is cool, but in the end, *you* can't verify it until you download the code and check it in PowerShell, so in that sense, even PGP signing would be better :-/ ... &lt;br&gt;&lt;br&gt;Incidentally, I noticed the line shading, but my CSS-Fu was weak that day, and I couldn't think how to fix it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Mon, 11 Aug 2008 10:22:59 -0000</pubDate></item><item><title>Re: A cry for help with NHibernate &amp;#8230;</title><link>http://HuddledMasses.org/a-cry-for-help-with-nhibernate/#comment-2587507</link><description>IEnumerable is, of course, the right answer to the List thing, I'm not sure why I didn't think of that ...&lt;br&gt;&lt;br&gt;I'm digging around the Java docs now, they seem more complete than the .Net ones ...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Thu, 07 Aug 2008 10:47:32 -0000</pubDate></item><item><title>Re: Setting Windows internet connection proxy from C#</title><link>http://HuddledMasses.org/setting-windows-internet-connection-proxy-from-c/#comment-2587500</link><description>My apologies, that line should have been *deleted*, not commented out. It was from a previous attempt to use the API the way it was documented elsewhere, so I've edited the post to remove it ... &lt;br&gt;&lt;br&gt;The original code which I copied allocated the memory a different way and needed to use @listHandle.Free();@ instead of @Marshal.FreeCoTaskMem( ipcoListPtr );@&lt;br&gt;&lt;br&gt;When I switched the way I allocated memory for the native code calls, I originally left all of the original code in (commented out), but I simply missed that line when I was cleaning it up.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Wed, 06 Aug 2008 17:32:33 -0000</pubDate></item><item><title>Re: Getting Started with PowerShell 2 - Part 3</title><link>http://HuddledMasses.org/getting-started-with-powershell-2-part-3/#comment-2587496</link><description>Thanks guys ... I really do blog for fun, not the feedback, per-se ... but I just felt like my little series was drifting a bit aimlessly, and I guess I just assume there aren't that many people interested in how *I* do my profile and which modules I use.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Thu, 24 Jul 2008 23:52:30 -0000</pubDate></item><item><title>Re: Run only one copy of an application</title><link>http://HuddledMasses.org/run-only-one-copy-of-an-application/#comment-2587287</link><description>Oh, I see what you mean â€¦ youâ€™re trying to run â€¦ only two. Or rather, only one _that you started_.  I didnâ€™t understand what you meant at all. &lt;br&gt;&lt;br&gt;Obviously having RunOnlyOne track what it starts should work fine (or, I take it, *does* work fine for you) ... I mean, itâ€™s hypothetically possible that you could get a coincidence with the process id on a subsequent boot or something, but it seems really unlikely.&lt;br&gt;&lt;br&gt;Sorry for the confusion.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Thu, 10 Jul 2008 08:50:10 -0000</pubDate></item><item><title>Re: PowerShell Modules</title><link>http://HuddledMasses.org/powershell-modules/#comment-2587479</link><description>If you're interested in more information about Microsoft's intentions for modules ... Bruce made a presentation at the Virtual PowerShell User Group about modules, and "uploaded his slide deck":http://cid-18d901b0daff5738.skydrive.live.com/self.aspx/Public/UG6/Windows%20PowerShell%20Version%202%20Modules.pptx ... which was very interesting, and focused on "post-CTP2 functionality" (meaning a lot of it doesn't work in the build you have now).&lt;br&gt;&lt;br&gt;He did say plainly that Modules are intended to *replace* Snapins, and gave some details about using PowerShell data files (.psd1) for module loading (although I _still_ can't get that to work in CTP2) ... I could really dig getting some help files for these cmdlets and functionality, or maybe a new release with some of the bug fixes they've already put in ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Fri, 04 Jul 2008 22:13:19 -0000</pubDate></item><item><title>Re: Automating the PowerShell Script Repository</title><link>http://HuddledMasses.org/automating-the-powershell-script-repository/#comment-2587484</link><description>Yes...&lt;br&gt;&lt;br&gt;I named @Send-Paste@ first, and then couldn't see @Receive-Paste@ as a reasonable name :) I suppose @Put-Paste@ would work as an alternate name.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 03 Jun 2008 00:00:08 -0000</pubDate></item><item><title>Re: PowerShell Modules</title><link>http://HuddledMasses.org/powershell-modules/#comment-2587481</link><description>I had wondered about a system package path, but I couldn't find a way to figure out the defaults, and I did discover (quite accidentally) that if you don't export, everything is exported.&lt;br&gt;&lt;br&gt;The plans for the future sound awesome!  I "filed":https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=346438&amp;amp;SiteID=99 "a few":https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=346423&amp;amp;SiteID=99 "bugs":https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=346420&amp;amp;SiteID=99 "this afternoon":https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=346371&amp;amp;SiteID=99 "too":https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=346691&amp;SiteID;=99 ...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 27 May 2008 22:11:54 -0000</pubDate></item><item><title>Re: Syncplicity &amp;#8212; Terms of Servitude</title><link>http://HuddledMasses.org/syncplicity-terms-of-servitude/#comment-2587466</link><description>Ok, I let one defensive comment by, but this is just silly.&lt;br&gt;&lt;br&gt;h3. You _must_ be joking. &lt;br&gt;&lt;br&gt;It's preposterous to claim that I'm misinterpreting legalese or that these terms are merely protective. Let me repeat myself here, over a month later:&lt;br&gt;&lt;br&gt;h3. Their front page and tour _still_ claim:&lt;br&gt;&lt;br&gt;bq. Syncplicityâ€™s storage is unlimited, so you never need to worry about how many file, gigabytes, or what-have-you of bandwidth you have left. Ever.&lt;br&gt;&lt;br&gt;h3. Their legally binding terms of service _still_ state:&lt;br&gt;&lt;br&gt;bq. Syncplicity may, at its option, establish limits concerning Sync Files, including, without limitation, the maximum number of days that Sync Files will remain available via the Services or on the Site, the maximum size of any files that may be stored on or uploaded to the Site or Services and the maximum disk space that may be allotted to you for the storage of Sync Files on Syncplicityâ€™s servers&lt;br&gt;&lt;br&gt;If you don't consider that false and misleading advertising, you clearly have a better faith in the people behind this organization than they deserve.  Maybe you weren't around when del.icio.us and flickr sold all their user's data to Yahoo! or when GrandCentral sold their telephone recording database to Google ... need I go on? You would do well to remember that small companies can sell out at any time, and that when they do, their new owners are free to take advantage of any contracts established with the original owners.&lt;br&gt;&lt;br&gt;For an appropriate retainer fee, I'd be happy to draft a better agreement -- and more importantly,  to *strike from their advertising any clauses which conflict with their legal agreement*.  [-.-]&lt;br&gt;&lt;br&gt;But quite honestly, you could save yourselves the money by copying the oft-scrutinized agreements from the big boys, such as Microsoft's "Live agreement":http://help.live.com/help.aspx?mkt=en-us&amp;amp;project=tou which includes such vital clauses as:&lt;br&gt;&lt;br&gt;bq. If we change this contract, then we will tell you at least 30 days before the change takes place. &lt;br&gt;&lt;br&gt;And limits them to calling the police only when they *actually need to*:&lt;br&gt;&lt;br&gt;bq. (a) comply with the law or respond to lawful requests or legal process; (b) protect the rights or property of Microsoft or our customers, including the enforcement of our agreements or policies governing your use of the service; or (c) act on a good faith belief that such access or disclosure is necessary to protect the personal safety of Microsoft employees, customers or the public.&lt;br&gt;&lt;br&gt;(I mean seriously -- Syncplicity might call the cops or suspend your account if they suspect that you might embarrass someone?)&lt;br&gt;&lt;br&gt;You could even work from "Big Brother's terms of service":http://www.google.com/accounts/TOS which rather than extend their right to publish your content to every other user ... specifically reminds you that:&lt;br&gt;&lt;br&gt;bq.  ... all information (such as data files, written text, computer software, music, audio files or other sounds, photographs, videos or other images) which you may have access to as part of, or through your use of, the Services are the sole responsibility of the person from which such content originated ... You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this Content (either in whole or in part) unless you have been specifically told that you may do so by Google or by the owners of that Content, in a separate agreement.&lt;br&gt;&lt;br&gt;They also promise that if they change their terms of service the&lt;br&gt;&lt;br&gt;bq. new Additional Terms will be made available to you from within, or through, the affected Services.&lt;br&gt;&lt;br&gt;So you know you're not going to have to keep pinging their TOS site to see if it changes...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Tue, 27 May 2008 12:32:56 -0000</pubDate></item><item><title>Re: WPF From PowerShell - Select-Grid</title><link>http://HuddledMasses.org/wpf-from-powershell-select-grid/#comment-2587475</link><description>Hey, thanks for following along :).  I added another test to avoid that error, and refactored the code a bit as well, feel free to "re-download":http://huddledmasses.org/wpf-from-powershell-select-grid/select-grid-2/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Thu, 22 May 2008 14:10:49 -0000</pubDate></item></channel></rss>