Initialer Import der Synology Scripts
This commit is contained in:
Executable
+24
@@ -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 -
|
||||
Reference in New Issue
Block a user