Functions/Get-HetznerCloudDatacenter.ps1
function Get-HetznerCloudDatacenter { [CmdletBinding(DefaultParameterSetName='None')] param( [Parameter(ParameterSetName='ById')] [ValidateNotNullOrEmpty()] [string] $Id ) Invoke-HetznerCloudApi -Api 'datacenters' @PSBoundParameters } |