Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enable-Mailbox -Identity 'netwerken.local/MyUsers/Koen Bosmans' -Alias 'kbosmans' -Database 'DirectieDB'
- [PS] C:\Windows\system32>get-user -OrganizationalUnit "MyUsers" -RecipientTypeDetails "User" | Enable-Mailbox -Database
- "Mailbox*"
- //Laat top 3 gebruikers zien
- //de more geeft dos ouput van .txt in dit geval
- [PS] C:\Windows\system32>Get-MailboxStatistics -Server "exchange" | Sort TotalItemSize -desc | select DisplayName, ItemC
- ount, TotalItemSize -first 3 | Out-file -FilePath "c:\Exstats.txt" | more "c:\Exstats.txt"
- [PS] C:\Windows\system32>Get-MailboxStatistics -Server "exchange" | Sort TotalItemSize -desc | select DisplayName, ItemC
- ount, TotalItemSize -first 3 | Out-file -FilePath "c:\Exstats.txt" | more "c:\Exstats.txt"
- //Geef commando s mbt certificaten
- get-excommands "*certi*"
- //Geef voorbeelden
- //Get-Help New-ExchangeCertificate -examples
- dag 2
- //Maak een certificaat met autodiscovery aan
- [PS] C:\Windows\system32>New-ExchangeCertificate -DomainName mail.xios.be, exchange.netwerken.local -FriendlyName "mail.
- xios.be,exchange.netwerken.local,autodiscover" -Services IIS -IncludeAutoDiscover
- New-ExchangeCertificate -DomainName mail.xios.be, exchange.netwerken.local -FriendlyName "mail.
- xios.be,exchange.netwerken.local,autodiscover" -Services IIS -IncludeAutoDiscover
- [PS] C:\Windows\system32>Restart-Service MSExchangePOP3
- //certificate informatie
- [PS] C:\Windows\system32>Get-ExchangeCertificate -Thumbprint 4BB928B8E683FA84A9D648F7F7E1BE75A67F37BE | fl
- PS] C:\Windows\system32>Get-TransportServer | fl *messagetr*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement