Intel Corporation interview question

how would you set a registry values with PowerShell?