-
Notifications
You must be signed in to change notification settings - Fork 827
Fix Powershell Cmdlet name in How to use VM Tokens
#1739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@HarryGwinnell : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit 44afbec: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Learn Build status updates of commit fe924a4: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Learn Build status updates of commit 2255aa2: ✅ Validation status: passed
For more details, please refer to the build report. |
|
@SHERMANOUKO - Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
|
#sign-off |
The PowerShell cmdlet is called
Invoke-RestMethod, notInvoke-RestMethas mentioned in this doc. Fix the cmdlet name so future folks who try to run these commands don't run into issues.The command also includes a Variable reference $Resource, but uses single quotes for the string so the variable isn't being substituted. Switch to double quotes so the strings behave as expected.
After this step, we're instructed to do

$content = $response.Content | ConvertFrom-Jsonto convert the result, but attempting to do so throws an error. The following step can fetch the access token without needing to manipulate the response, so bypass this step.