Andrew_C Posted January 6, 2016 #1 Share Posted January 6, 2016 Hi All I would like to change a users remote inquiry PIN via Powershell. I'm getting this error when i try and run it: Exception setting "RIPIN": "Cannot convert value "115599" to type "System.Byte[]". Error: "Cannot convert value "115599" to type "System.Byte". Error: "Value was either too large or too small for an unsigned byte." My script is currently: # Get User object $user = Get-IpPbxUser -UserName "Andrew" #Set Remote Inquiry Pin $user.RIPIN = "115599" #Update User update-ippbxuser -userentry $user Any help or pointers would be greatly appreciated. Thanks, Andrew Link to comment Share on other sites More sharing options...
Most Valued User Martin Posted January 6, 2016 Most Valued User #2 Share Posted January 6, 2016 Try using RIPINDecrypted instead of RIPIN Link to comment Share on other sites More sharing options...
Andrew_C Posted January 7, 2016 Author #3 Share Posted January 7, 2016 16 hours ago, Martin said: Try using RIPINDecrypted instead of RIPIN That works, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.