hosting:hetzner:cloud
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| hosting:hetzner:cloud [2026/02/21 00:44] – created gsys | hosting:hetzner:cloud [2026/02/21 03:02] (current) – gsys | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| <code powershell> | <code powershell> | ||
| - | $serverid | + | $env: |
| - | $servertype | + | $env: |
| - | $token = "< | + | $env: |
| $body = @{ | $body = @{ | ||
| upgrade_disk = $true | upgrade_disk = $true | ||
| - | server_type | + | server_type |
| } | ConvertTo-Json | } | ConvertTo-Json | ||
| Invoke-WebRequest ` | Invoke-WebRequest ` | ||
| -Method Post ` | -Method Post ` | ||
| - | -Headers @{ " | + | -Headers @{ " |
| - | -Uri " | + | -Uri " |
| -ContentType " | -ContentType " | ||
| -Body $body ` | -Body $body ` | ||
| -UseBasicParsing | -UseBasicParsing | ||
| + | |||
| + | Remove-Item Env: | ||
| + | Remove-Item Env: | ||
| + | Remove-Item Env: | ||
| </ | </ | ||
| + | https:// | ||
hosting/hetzner/cloud.1771631094.txt.gz · Last modified: by gsys