I set up a small script which adds the username supplied during OSD to the local administrative group instead, which you could run from a TS.
This way only the Primary User gets elevated privileges over their own PC.
Code
Password Generator
Security is very important, especially when it comes to IT.
We’ve created a password generating script to assist in making sure we all use high security passwords.
Sending Emails via Powershell
Lately I’ve been setting up a back-end script for one of our customers. The full script creates Domain users, generates passwords and emails the manager/CEO the user information.
This post will only contain the Email function, more functions will be posted later.
SCCM 2012: Create Collections and AD Groups
After setting up a new domain and deploying SCCM 2012 I came to realize how much work it actually is to set up new applications.
I have made a script which creates AD groups and Collections.
Convert VBS to Powershell
I’ve always liked VB scripting, but I have officially converted to Powershellism (?!).
If you’d like to convert your old VBS scripts to Powershell check this out…
Actions in Configuration Manager Client
Understanding how the Configuration Manager client works is a crucial part of troubleshooting.
Here you will find information about how to retrieve policies from the SCCM server.
WordPress: Increase Number of Posts in Search Results
The basic goal of a site search is to find information quickly. Because searches rely on the same setting as any other WordPress page when determining the number of listings to show, we have to get a little creative in order to show a different amount.
Write Folder Metadata via Powershell
The last few days I’ve been working with Powershell. The idea behind this function is to customize folders. In my case I needed to make sure that the file path does not contain spaces, yet show user friendly folder names to the end user.
Special characters in HTML
When you want to write special characters in a HTML document sometimes it will interpret it as code. Heres a list of the most commonly used characters and what to replace them with.
WordPress: Hacks for the Media Uploader
Today I implemented Fancybox on the site. Although Wordpress had to be hacked a bit for this to work. By default WP will add a bunch of weird classes and properties that will screw up plugins. This is how I managed to fix it.









