Initialer Import der Synology Scripts

This commit is contained in:
root
2026-08-05 08:43:57 +02:00
commit 5e32a7c411
404 changed files with 79932 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
Install-Module -Name Corsinvest.ProxmoxVE.Api -Force
Get-Help New-PveNodesQemu -Full
get-help New-PveNodesQemu -Detailed
$ticket = Connect-PveCluster -HostsAndPorts 192.68.1.200:8006,192.168.1.200 -SkipCertificateCheck -ApiToken $Env:PveApiToken
$ret = Get-PveVersion
#Zeigt die PVE Version an
$ret.ToData() |
#Zeigt die PVE Specs an
(Get-PveNodes).ToData() | Select-Object -Property type,node,uptime,status,maxcpu,maxdisk | Out-Default
#Zeigt alle Informationen einer VM an
Get-PveVm -VmIdOrName 3101
#Zeigt alle Snpshots einer VM an
(Get-PveNodesQemuSnapshot -node cc02 -Vmid 102).ToTable()
#oder
(Get-PveVm -VmIdOrName 3101 | Get-PveNodesQemuSnapshot).ToTable()
#new VM anlegen
New-PveNodesQemu -