Dynamic and interactive filtering in Powershell

Filtering in Powershell are one of the most expressions i’m use fordrill down get-cmdlet results. There are so much situations we wouldlike to have some simple and clear technique to see the results in different views.As an Example I will use get-process with three views:

  1. SlowMotion (More about …
more ...

Create SHA1 Hash from a String in PowerShell

Create a SHA1 hash in PowerShell

There is not that much to say. Attached is a Script that generates a SHA1 Hash from a String.

Why for me?

We have several Servers they are storing files in a specified format on different folders. I should write a Powershell Script who …

more ...

Store Configurations in Powershell

Some Scripts need to store configuration values in Ini- or XML-Files. What is the best way to do that?

Ini-Files

Using Ini-Files in Powershell is a challenge. Microsoft Currently has no real Access Solution for Ini-Files. The Community give us some ways to use a workaround.

Two other Methods are …

more ...

Quick Powershell Bundle for Intype

| My Daily Work give me allot cases witch i can do with Powershell Scripts. So far i don’t know any Script-Editor who support highlighting for Powershell Syntax. | It is possible that Intype become for me the next regular editor. I hope this bundle gives advantage to more script developers …

more ...

Diskusage in Powershell

Here is a small Snippet who shows you the Size of all Diskdrives in Powershell. It works also in remotly.

function global:DiskUsage
{
    param([string]$servername = "localhost")

    $pingresult=(Get-WmiObject -Class Win32_PingStatus -Filter "Address='$servername'" -ComputerName . | select Statuscode)
    if($pingresult.Statuscode -ne $null -and $pingresult.Statuscode -eq 0)
    {
        get-wmiobject …
more ...