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