Skip to content
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

Update examples.md with Powershell Invoke-WebRequest example #212

Conversation

aaronjohnson
Copy link
Contributor

@aaronjohnson aaronjohnson commented Oct 23, 2024

This pull request includes updates to the docs/api/central/examples.md file to provide additional examples for deauthorizing a network member using different shell environments.

Documentation improvements:

  • docs/api/central/examples.md: Added a new section for deauthorizing a network member using PowerShell with Invoke-WebRequest. This includes detailed instructions and a note about potential issues with using curl within PowerShell.

…ce on a network

Separated the curl example into two based on operating system type; shell and powershell.

The latter has two flavors, a non-standard curl.exe binary with matching parameter syntax, or a powershell Invoke-WebRequest _native_ equivalent.

The error encountered by a customer indicated curl is an alias for Invoke-WebRequest on Powershell.
Copy link
Contributor

@laduke laduke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@aaronjohnson aaronjohnson merged commit 0f37424 into main Oct 23, 2024
1 check passed
@aaronjohnson aaronjohnson deleted the aaronjohnson-patch-1-invoke-webrequest-deauth-network-device-powershell branch October 23, 2024 20:26
@aaronjohnson
Copy link
Contributor Author

What are the remaining steps for this to become public?

@laduke
Copy link
Contributor

laduke commented Oct 23, 2024

I forget

@laduke
Copy link
Contributor

laduke commented Oct 23, 2024

@glimberg
Copy link
Contributor

For deployment: https://github.com/zerotier/docs?tab=readme-ov-file#deployment

But we should probably add a snippet for the "Authorize" action as well

@aaronjohnson
Copy link
Contributor Author

But we should probably add a snippet for the "Authorize" action as well

#213

@aaronjohnson
Copy link
Contributor Author

For deployment: https://github.com/zerotier/docs?tab=readme-ov-file#deployment

Where is visibility of subsequent process once the release has been made ?

https://github.com/zerotier/docs/releases/tag/2024-10-23-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants