Powerbits #9 – Get the directory of the calling script or get the current...
This is one of my most used snippits of code. I generally put this at the beginning of every script. Every time I need it, I always say I need to post this as a powerbit so that I can find it more...
View ArticleGet a list of metro apps and launch them in Windows 8 using PowerShell
I’ve been playing with Windows 8 store apps (metro apps) in C# and Xaml recently, and of course I thought it would be cool to launch these apps from within Windows PowerShell. After some fruitless...
View ArticleLearning a New Language – Perl, Python, and PowerShell – Part I – Executing a...
I have been doing development in some form or another for a long time. I learned Perl around 1997. I toyed with Basic and Pascal in high school and college, but it was nothing serious. Since that time,...
View ArticlePowerbits #10 – history |grep or hgrep in PowerShell
I’ve been working a bit more in Linux. Besides it inspiring me to write a lexical parser in python for PowerShell (don’t get your hopes up – it’s too much work, and I can’t do it), I keep getting...
View ArticleYou Know PowerShell is an Object-Oriented Language, Right?
I was recently reading an article that I’ll refrain from linking to for fear of a flame war. It infuriated me because it referred to PowerShell as a procedural/functional language that is antiquated...
View ArticleAnnouncing PshOdata – Cmdlets that make Odata easy
I’m sitting in the PowerShell summit and just left the stage where I presented how the Odata extensions work and shared my new project (contributors welcome) to bring PowerShell-driven Odata endpoints...
View ArticleInvoking the GetDiskSpaceInformation method of the IOfflineFilesCache COM...
This article could also be entitled, “Using an Inproc COM server in C# and PowerShell”. Part I of this series shows how to invoke the GetDiskSpaceInformation method of the IOfflineFilesCache COM...
View ArticleInterprocess Communication (IPC) Between Asynchronous Events Triggered in C#...
I played with Apache Zookeeper and PowerShell all weekend. While I won’t dig into what I’ve been doing deeply in this article, I will tell you that the .NET interface requires a lot of asynch...
View ArticleLinux folks meet piped objects, Microsoft folks meet sed!
The world is a buzz around the announcement that Microsoft has open sourced PowerShell and released a working version of the language for Mac and Linux. Personally, I’ve been looking forward to this...
View ArticleH2o – Machine Learning with PowerShell
This article will give you the basics to leverage H2o to create a neural net model in seconds and then show you how to consume that model all from Windows PowerShell. We’ll assume you do NOT know what...
View Article