Public/Get-SKBackupRetentionPeriod.ps1
function Get-SKBackupRetentionPeriod { [CmdletBinding()] param ( [Parameter( Mandatory = $true, Position = 0, ValueFromPipeline = $true)] [guid]$subscriptionId ) Begin { $endpoint = "/Backup/$subscriptionId/retentionperiod" } Process { $return = Invoke-SkykickAPIGeneric -endpoint $endpoint -method GET } End { return $return } } |