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