December | 2015 | Zak Emerick's IT Blog

My IT blog for random ideas and solutions.

Monthly Archives: December 2015

Powershell: Random String Generator


The script below will generate a random string using the character set and length that you specify. Right now the character sets are pretty limited, but can be easily adjusted. I plan on adding the ability to pass a character set to the function from the pipeline. Right now though, it is sufficient. It’s also…

Read More

Powershell: Typist


[CmdletBinding()] <# .SYNOPSIS Replaces key input with sections from a file. .DESCRIPTION Will read from a text file of your choosing and replaces your keystrokes with random sections of the file. Just a novelty script. .EXAMPLE This param is required. Powershell.exe -file Typist.ps1 -FilePath CodeFile.cs .EXAMPLE The maximum parameter will determine the the ceiling of…

Read More