powershell get serialnum code example Example: get serial number for server using powreshell get-ciminstance win32_bios | format-list serialnumber