A few weeks ago, I worked my way through a Lynda.com course on the Windows PowerShell ISE. The current version of the ISE has an Add-On menu item that links directly to the PowerShell ISE Add-Ons page at microsoft.com. One particular add-on was particularly interesting to me, since I’m trying to bring to bear what […]
testing PowerShell with Pester
I’ve been diving back in to – well, dipping my toe in the chilly waters of – PowerShell for some scripting here at my Data Processing job. Several years ago, I learned the hard way (i.e., after writing a couple hundred lines of Ruby script) that although much of our processing automation was written without unit […]
PSFTP links
I’m trying to develop some scripts to handle data on some of the web servers we push data to at work. I’m using PowerShell, because I can be fairly sure it will be available on the local hosts that we connect to the web servers from. There is a “PSFTP” module that wraps .NET calls […]
Finding connected Remote Desktop users
Finding Remote Desktop users connected to a Windows server using PowerShell (without using the RemoteDesktopServices cmdlet – script uses WINSTA.EXE instead.
Where it all started – the Monad Manifesto
PowerShell originally started as a project called “Monad” within Microsoft. The original Monad Manifesto[PDF] was written by Jeffrey Snover back in August 2002. BTW, one of the major influences on Monad was a paper by John Ousterhaut: Scripting: HigherLevel Programming for the 21st Century[PDF] It’s interesting to read Snover’s original manifesto and see how much of […]
Setting up my PowerShell profiles
There comes a time in every programmer’s life when s/he has to strike out on his/her own, writing new code (instead of typing in examples from books / websites). That time has come now for me with regards to PowerShell. But first, I have to set up my working environment. Here at work, we have […]
Automating web browsing using PowerShell
A lot of our Production Quality Control (QC) operations where I work require checking that data has been uploaded to one of our websites, using either one of our internal tools, or our backdoor access to one of our customer-facing sites. This is all right when we’re checking a couple of customer jobs, but gets […]
Another PowerShell resource
Another resource I’ve been mining in the last week or so: PowerShell.org, an independent community for PowerShell users. Something at PowerShell.org that you won’t find at every other PowerShell resource: the PowerScripting Podcast, currently on episode 289. As I get time, I’m paging back through the archives to find episodes that are of interest to me […]
Three PowerShell resources
Microsoft’s Hey, Scripting Guy! blog Microsoft TechNet Script Center PowerShell Code Repository – PoshCode.org (originally posted at edward.spurlock.cc)
Find subfolders that lack a given file(name)
Our processing automation at work creates a number of files during processing. One way we can tell when the automation hasn’t completed successfully is when the processed files directory has been created, but the files that are created at the end of processing are missing from the directory. Here’s a PowerShell script fragment to identify […]