PowerShell

Monitor & Visualize Your SmartThings Smart Home with Splunk

The smart home has gone through quite a convergence in the last few years. Modern protocols like Z-Wave & ZigBee,…

5 years ago

Posting a feed to Google Search Appliance (GSA) from PowerShell

PowerShell code to submit a feed to Google Search Appliance: $dataSource = "MyFeed" # replace this with your datasource name…

11 years ago

Finding the Last Friday (or any weekday) of the Month in PowerShell

If there are less than 7 days left in the month, then it's the last weekday of this type in…

11 years ago

Running MSDEPLOY from PowerShell

I had to spend quite a bit of time figuring this out. So hopefully this will help someone out there.…

11 years ago

Give The Power of Speech and Sound to Your PowerShell Scripts

Do you ever have the problem where you start a long running script (such as running a code build), multi-task…

16 years ago

Automating Maven with PowerShell

I found out the hard way that mvn (Maven) on Windows always return a success code of true, which means…

16 years ago

Tee-Object and Invoke-Expression in PowerShell

The PowerShell Tee-Object Cmdlet allows you to send command output to a file or a variable, and display it in…

16 years ago

Create a Temporary File in PowerShell

$tempFile = [IO.Path]::GetTempFileName() An empty file created immediately when you call this method. Remember to clean it up when are…

16 years ago

Bag of Links #2

.NET/C# Programming Thread synchronization: Wait and Pulse demystified. By Nick Butler. Use a shortened GUID for file names and request…

17 years ago

Bag of Links #1

A while ago I had been posting my Finds of the Weeks series and this is the continuation of that.…

17 years ago