#Connect to SharePoint Online Module
Try{
#(-)_.Connect SP Online Module
$orgName = 'CloudSec365'
$url = "https://$orgName-admin.sharepoint.com"
Connect-SPOService -Url $url -Verbose
}catch{
Write-Warning 'Error
has occoured'
Write-host "Problem FOUND: $($PSItem.ToString())" -f red -b White
}
|
Casey
DeDeal
Azure
Certified Solutions Architect
AWS
Certified Cloud Practitioner
https://msazure365.blogspot.com
https://simplepowershell.blogspot.com
https://twitter.com/Message_Talk
No comments:
Post a Comment