Command to Connect Sharepoint Online:
Connect-SPOService
Enter URL:
url: https://capgemini12-admin.sharepoint.com -Credential $credential
To get all deleted site collections from recycle bin:
get-spodeletedsiteTo delete site collection permanently from recycle bin:
get-spodeletedsite | Where {$_.url -eq "https://tenant.sharepoint.com/sites/SiteName"}
get-spodeletedsite | where {$_.url -eq "https://capgemini12.sharepoint.com/sites/SiteName"} | Remove-SPODeletedSite