Category Archives: powershell

Building a Clipboard History Viewer Using PowerShell

I saw a question a while back in the Technet PowerShell Forum asking how one might start to build a clipboard viewer using PowerShell that met a few requirements: Have an open window aside from the PowerShell console Automatically list … Continue reading

Posted in powershell | Tagged , , | 6 Comments

Guest Spot on Hey, Scripting Guy! Talking ForEach

Check out my latest guest spot on Hey, Scripting Guy! talking about using ForEach, ForEach-Object and … ForEach (the alias of ForEach-Object). Give it a read and let me know what you think! http://blogs.technet.com/b/heyscriptingguy/archive/2014/07/08/getting-to-know-foreach-and-foreach-object.aspx

Posted in powershell | Tagged , , | Leave a comment

Quick Hits: Did I Really Lose My Output With Receive-Job By Not Using–Keep?

We have all probable been there at some point. We use Start-Job to run a command in the background like this: Start-Job -ScriptBlock { Get-Process | Where { $_.WS -gt 100MB } } -Name HighMemProcess Take note of the HasMoreData … Continue reading

Posted in powershell | Tagged , , , | 2 Comments

Changing Ownership of File or Folder Using PowerShell

While working on a project recently, I needed to find an easy way to take ownership of a profile folder and its subfolders to allow our support staff to either delete the profile or be able to traverse the folder … Continue reading

Posted in powershell | Tagged , , | 32 Comments

PowerShell User Group in Omaha Nebraska!

That’s right! We now have a PowerShell Users group in Omaha, Nebraska. Jacob Benson (Blog | Twitter) and myself are kicking off the inaugural session on 29 July @ 6:30 PM at the Microsoft office. If you are in Omaha … Continue reading

Posted in powershell | Tagged , , , | Leave a comment