I have a SQL VM in Azure that backs up to blob storage. I'd like a script that will give me the most recent restore time for each database backed up to that storage.
Get-DbaBackupInformation using the AzureCredential seems the obvious way to do it, but does anyone know the syntax for it? What should the -path parameter be?
I read this article
https://www.sqlservercentral.com/blogs/restoring-backups-from-azure-blob-with-dbatools
Which is fine but if I can just use the Get-DbaBackupInformation using the AzureCredential without having to enumerate the files with Get-AzStorageBlob first, that would be a more graceful solution.
Has anyone used this?
Cheers
Alex
CREATE CREDENTIAL
command, see learn.microsoft.com/en-us/sql/relational-databases/…