Posts Tagged ‘powershell’

Code Golf: Executing Solutions with Azure Functions

After I first showed off Code Golf, many people’s reaction was that it really needed a way for you to execute your solutions against a problem. I did a little bit of experimentation with Azure Automation but eventually settled on Azure Functions are the perfect engine to process solutions. Here’s how it works. Each problem […]

PowerShell Decompiled: How do loops work?

In my quest to figure out why handles.ps1 was running very slowly when looping over the 3.4 million handles on my system, I started to realize that the loop structure itself was a lot slower than a language like C#. I know that PowerShell is compiled to an executable lambda statement when it meets particular criteria […]

Enabling Output of PowerShell Compilation

A long time ago I wrote a blog post about how to grab the internal compiled script blocks that are produced when PowerShell turns an AST into a executable, compiled lambda. Now that PowerShell is open source, we can do some really need things with the source to actually output that information. I just submitted […]

Reading Temperature from a Google Nest Thermostat with PowerShell

I recently acquired a Google Nest thermostat (on sale at Target!). Even before buying one I was already thinking about the automation possibilities. Google provides a REST interface for the Nest device. It’s accessible via OAuth and very easy to consume. The core tenant of their API is that there are very few endpoints and a single data […]

Digging into PowerShell Direct

Available in Windows 10 and the Windows Server 2016 Technical Preview, there is a new feature of PowerShell and Hyper-V that enables you to connect to guest machines that lack network access: PowerShell Direct. The standard PSSession cmdlets along with Invoke-Command now offer a VMID and VMName parameter. Simply run any of these commands as you […]

Upcoming features in PowerShell Tools for Visual Studio

Long time no blog! I wanted to showcase a couple neat features coming to PowerShell Tools for Visual Studio. My hope is that we can get some feedback before pushing to the gallery for the world to enjoy. Windows Forms Support for PowerShell 2013 Build 2015 Build Pull Request The Windows Form designer is handy […]

PowerShell Tools for Visual Studio – What’s new?

What’s been going on? Over the past couple of months I’ve been working with an awesome team of developers and project managers over at Microsoft to bring some great new features and fix a lot of bugs in PowerShell Tools for Visual Studio. The first pull request from the Microsoft PoshTools fork was pretty large.   […]

PowerShell Tools for Visual Studio – Now 100% more free!

UPDATE: Just download the Visual Studio 2013 Communtiy edition and PoshTools works perfectly with it! Recently, the Python Tools for Visual Studio team released support for Visual Studio Express 2013. After emailing the team, I found that there is a white list of extensions that are allowed to be installed in Express. Unfortunately, this is […]

PowerShell Tools – v0.8.0 – Now with REPL!

Today, I’m announcing the release of PowerShell Tools for Visual Studio v0.8.0. There are some important installation changes in this version and I want to make sure people are aware. You can download the latest on the Gallery (2012\2013) or via GitHub. Installation Changes – Important! The extension has been broken into two different editions based […]

PowerShell Tools for Visual Studio Thanksgiving Special!

In celebration of the Thanksgiving holiday (and because I finished a bunch of cool stuff), I’ve released a healthy update to PowerShell Tools for Visual Studio to the Gallery! There have been a lot of enhancements to the extension. I’ll highlight some of the key features in this post. Unit Test Adapter This particular feature […]