Added scripts
This commit is contained in:
3
Microsoft 365/connect-office-365.ps1
Normal file
3
Microsoft 365/connect-office-365.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
$UserCredential = Get-Credential
|
||||
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
|
||||
Import-PSSession $Session
|
||||
Reference in New Issue
Block a user