Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Login-AzureRmAccount
- $inv=Get-AzureRmBillingInvoice -Latest
- Invoke-WebRequest -Uri $inv.downloadurl -outfile ('c:\billing\' + $inv.name + '.pdf')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement