Functions/Get-HetznerCloudServerAction.ps1
function Get-HetznerCloudServerAction { [CmdletBinding(DefaultParameterSetName='None')] param( [Parameter(ParameterSetName='ById')] [ValidateNotNullOrEmpty()] [string] $Id ) Invoke-HetznerCloudApi -Api 'servers' -Id $Id -SubApi 'actions' } |