Powershell Remoting

I recently discovered one of my deployment scripts does not work on Win 10 1809 any more (it ran dism to install the dot Net Framework 3.5 – just errors out) however that the powershell version (Add-WindowsCapability) works fine. Had to get this rolled out to a handful of PCs ASAP in order for a legacy application to successfully run.

As time was of the essence, I ended up running round the 24 PCs like an idiot, logging on and running the command, but I thought “Why don’t I just enable PS Remoting, then I could at least do this from my desk scripted”. Obviously the ideal solution would be to deploy the Netfx3 install via SCCM but PS Remoting will still be handy.

Continue reading “Powershell Remoting”

Office 365 Automated Signature Generator

I’ve been looking for a while at a way to automate email signatures for everybody using OWA on Office 365. The new layout we want for our signatures includes images and everywhere I’ve read says it’s impossible to embed images in a signature set using Powershell. (Note I want them embedded rather than hotlinked).

The solution I came up with takes details from the Active Directory user account – I’m using the description field to insert the person’s name (to allow things like “Mrs Blah” rather than just outputting firstname surname), fields like title (job title), telephone, mobile and also using a few of the extensionAttributes for the Twitter/Facebook links. All of these are standard fields so no need to mess with the AD schema. Continue reading “Office 365 Automated Signature Generator”

Windows 10, UEFI and PXE booting

I recently set up System Centre Configuration Manager to take over from MDT for imaging PCs. The end result I’m after is that all PCs attempt PXE boot when powered up, and then automatically image if there’s a task deployment waiting for them. (Bonus points is getting wake-on-lan to work with Win 10 so they’ll power themselves up too).

Thought this would be easy – surely just set network as the first boot device – only to discover that part of Windows setup adds “Windows Boot Manager” and sets it as the first device in the boot list, no way to stop it. Continue reading “Windows 10, UEFI and PXE booting”