hosting:hetzner:cloud
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hosting:hetzner:cloud [2026/02/21 00:53] – [Rescale] gsys | hosting:hetzner:cloud [2026/02/21 03:02] (current) – gsys | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <code powershell> | <code powershell> | ||
| $env: | $env: | ||
| - | $serverid | + | $env: |
| - | $servertype | + | $env: |
| $body = @{ | $body = @{ | ||
| upgrade_disk = $true | upgrade_disk = $true | ||
| - | server_type | + | server_type |
| } | ConvertTo-Json | } | ConvertTo-Json | ||
| Line 17: | Line 18: | ||
| -Method Post ` | -Method Post ` | ||
| -Headers @{ " | -Headers @{ " | ||
| - | -Uri " | + | -Uri " |
| -ContentType " | -ContentType " | ||
| -Body $body ` | -Body $body ` | ||
| -UseBasicParsing | -UseBasicParsing | ||
| - | Clear-Variable server* | + | Remove-Item Env: |
| - | Clear-Variable HETZNER_TOKEN | + | Remove-Item Env: |
| - | Clear-Variable body | + | Remove-Item Env: |
| </ | </ | ||
| + | https:// | ||
hosting/hetzner/cloud.1771631626.txt.gz · Last modified: by gsys