get serial number for server using powreshell

Shell
get-ciminstance win32_bios | format-list serialnumber

Source

Also in Shell: