Posts Tagged: batch

0Batch script to rename PC based on reserved DHCP name

I use WDS on a stan­dalone serv­er to set up new PCs and to reim­age PCs when they have ended up mangled bey­ond repair. With a good num­ber of PCs in my own house it is use­ful to reim­age them oca­sion­ally when swap­ping or upgrad­ing hard­ware. Most of this pro­cess is now auto­mated by an unattend.xml file but one step the unat­ten­ded pro­cess does­n’t seem to sup­port is renam­ing PCs back to their ori­gin­al name.
Read Full Article

0MS Office LogoBatch convert old MS Office documents

I’ve been try­ing to sort out an enorm­ous (100+GB) or teach­ing resources that I’ve built-up over the years.  After the obvi­ous steps (delet­ing empty, temp and duplic­ated files) and sort­ing the big files (e.g. videos, applic­a­tion installers) I was left with a large num­ber of office doc­u­ments.  I am slowly work­ing through these, but many of them are 2003 or even older format doc­u­ments — some as old as Word 6!  Every time I open one of these files I am promp­ted with vari­ous secur­ity warn­ings.  Whist these can be turned off (see below) it is more secure to leave them on, and I wanted to con­vert all the files to office 2007 (docx, xlsx etc) formats.  Batch con­ver­sion was def­in­itely the way to go.

Read Full Article