Powershell Get Registry Value Type