Renaming Windows to Dell Service Tag using PowerShell

image displaying post title

This is a script I wrote to rename a newly imaged or created windows PC to the Dell service tag stored in the BIOS using PowerShell.