I like using objects in PowerShell, they make management and scripting easier as your are dealing with named sets of information and not having to find objects in numbered arrays or use dictionaries. That means however that a lot of my scripts start off with a block that looks a little like this: $UserDefinition =
Continue reading Using Add-Type in a PowerShell script that is run as a Scheduled Task
Category: Microsoft Windows
‘You Have Been Logged On With a Temporary Profile’ when all profiles have been redirected to a specific location
This is a very strange issue, which I think will only affect a handful of people, and only those who have the right mix of configurations as described below. Users logging on to a Windows 7 machine received the following popup: This message implied that there would be some informative details in the Event Log,
Continue reading ‘You Have Been Logged On With a Temporary Profile’ when all profiles have been redirected to a specific location
IISCrypto – Making SSL/TLS Configuration Easier
Following the recent Poodle vulnerability, and the general best practice that you should always use the most secure protocols available, I have been spending some time reconfiguring servers. Setting the order of ciphers, and enabling Forward Secrecy in Windows requires editing the registry – a lot. This is susceptible to errors, as the process is
Continue reading IISCrypto – Making SSL/TLS Configuration Easier
SharePoint 2013: Renaming the Database Server
There are a number of posts on this online, but none of them exactly described the steps that I needed to take in order to rename the server that was hosting the SQL databases for our SharePoint installation. I was in the fortunate position that the system had not yet gone live, so rebooting and
Continue reading SharePoint 2013: Renaming the Database Server
Modifying GPO Printer Deployment using PowerShell
We use the Deployed Printers feature in the Print Management console to deploy printers to users. As part of the printer migration that I have been working on, I needed to modify all of these GPOs so that all of the policies directed all of the users to the new print server. There are over
Continue reading Modifying GPO Printer Deployment using PowerShell
Windows 2012: PrintService EventID 812 Error 0x5
Been working on a print server migration, and with the cutover we started noticing a lot of these errors in the PrintService Operational Log. This log has to be enabled before you will get these errors if you have not done so already. As part of the setup of this print server, a dedicated disk
Continue reading Windows 2012: PrintService EventID 812 Error 0x5
Clean Up Unused Printer Drivers
Working on a printer migration project, and one of the first steps was to clean up the existing print servers so that when running the migration. I wanted a way to contact remote print servers too. This script, once imported allows cleanup of remote print servers. Requires Powershell 4, so run off a Windows 8/Windows
Continue reading Clean Up Unused Printer Drivers
MagicISO with Intel ICH10R RAID Array
Was having trouble getting MagicISO to install on my Windows 7 x64 Professional machine that I had just rebuilt. It worked fine before I installed new hard disks, but not now. My new HDD have been installed in a RAID1 configuration using the built in Intel ICH10R RAID controller. This involved giving Windows a driver
Continue reading MagicISO with Intel ICH10R RAID Array
PowerShell 3: Add Multi-line TXT Record to DNS
This had me stumped for about 30 minutes, until I finally worked out the correct syntax to make this all work. I was looking for a way to create a TXT record on my DNS server. The data though is a multi-line record – and had to be multi-line for the server to understand the
Continue reading PowerShell 3: Add Multi-line TXT Record to DNS
Untangle 9.3.2 on Hyper-V 2012
I have just been playing with getting an Untangle (http://www.untangle.com) server up and running on a Windows Server 2012 Hyper-V install. Looking at this as a possible replacement to ISA 2004 on our current Windows SBS 2003 install. I had read up various articles of problem that have been encountered with network adapters, no mouse
Continue reading Untangle 9.3.2 on Hyper-V 2012