scripts/powershell/sacar_propiedades_mailbox.ps1
2023-07-12 11:43:15 +00:00

6 lines
355 B
PowerShell

$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking
Get-Mailbox -Identity "usuario" | Format-List
Remove-PSSession $Session