Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $enc = [system.Text.Encoding]::UNICODE
  2.  
  3. $bytes = $enc.GetBytes($((Get-ItemProperty –Path "HKCU:\Software\Avaya\IP400\SoftConsole\").profile))
  4.  
  5. [System.Text.Encoding]::ASCII.GetString($bytes)
  6.  
  7.  
  8. $input = 'C:\Users\gareth\Documents\Avaya\IP 400\SoftConsole\Profiles\301\Reception.pfs'
  9.  
  10. $enc = [system.Text.Encoding]::ASCII
  11.  
  12. [System.Text.Encoding]::UNICODE.GetString($bytes)
  13.  
  14. (Get-ItemProperty –Path "HKCU:\Software\Avaya\IP400\SoftConsole\").profile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement