I'm trying to get the access token for a Microsoft Translator application using PowerShell, but some process commands fail as a result of the error:
Unable to find type [System.Web.HttpUtility]
At first I typed the code, but the same error shows if I copy the code directly from the MSDN page to PowerShell ISE (and replace the missing values):
# ... $ClientID = '<Your Value Here From Registered Application>' $client_Secret = '<Your Registered Application client_secret>'
I am new to PowerShell (I usually use Linux for development), but I assumed that this should work ready without the need to install additional tools; if not, where can I find them?
source share