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