Options

Powershell to User Serial Number as Computer Name

the_Grinchthe_Grinch Member Posts: 4,165 ■■■■■■■■■■
I'm attempting to automate a couple of our processes and hoping Powershell can help (I really need to get the book and learn it). So I know how to pull the serial number:

Get-WMIObject -Class "Win32_BIOS" -Computer computername | select SerialNumber

Once it outputs the serial number, I want to take it and use it to name the computer thus:

DELXXXXXXX

Any clues on how I could do this?
WIP:
PHP
Kotlin
Intro to Discrete Math
Programming Languages
Work stuff

Comments

Sign In or Register to comment.