I had an interest in setting up a Squid caching server to see if I could save any bandwidth in my home environment. I found that the information online was lacking in this area so I decided to do a quick write up on the matter. This post is not to configure an intercepting proxy…
Latest Posts
Powershell: Get-RemoteUsers
Posted by zemerick on January 12, 2016
Below is a Powershell function that I wrote to solve an issue of resolving remote/local users before a software application was deployed. So many times do I need to know if an user is logged in before I make any changes. There are few easy ways to retrieve the ‘remote’ users on a remote system….
Read MorePowershell: Random String Generator
Posted by zemerick on December 30, 2015
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 MorePowershell: Typist
Posted by zemerick on December 22, 2015
[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 MoreASUS Laptop: Recovery is unavailable.
Posted by zemerick on October 28, 2014Since I do a lot of work for different clients for their personal computers I have the pleasure of seeing a lot of strange issues. This one was particularly easy after a little bit of Googling. I was about to attempt things the hard way before I found a solution. ISSUE: The computer (Asus x53e…
Read MoreSCCM 2012 R2: Detected faulty configuration. Repair will be started in 5 minutes.
Posted by zemerick on September 18, 2014
Since I work in education there is always at least a 3 month downtime for some systems in our district. This can cause issues when they haven’t been turned on in quite a while and thus not contacted our servers. We had an issue today to where we came across several computers that were not…
Read MorePowerShell: Move Computers in Active Directory based on CSV file
Posted by zemerick on August 28, 2014
Since I work in education we have to deal with new students coming in every year. At the high school level, in particular, we have to deal with internet permission slips. Since every student has an Active Directory user account we have to move the students from the ‘blocked’ OU to the ‘unblocked OU. With…
Read MorePowershell: Add Active Directory computers to a group in bulk.
Posted by zemerick on August 28, 2014