Exchange Managament Shell Commands

      Yorum yok Exchange Managament Shell Commands

User Managament New-Mailbox -Name “isim soyadi” -UserPrincipalName TB191919@itmakale.com.tr -Password (ConvertTo-SecureString -String ‘abcd+1234’ -AsPlainText -Force) -FirstName isim -LastName soyadi -DisplayName “isim soyadi” -Database UsersMailboxDatabase-1 -OrganizationalUnit “itmakale.com.tr/BANK/Genel Mudurluk” Set-ADUser -Identity TB191919 -Company ITMAKALE Set-ADUser -Identity TB191919 -department “Bütçe ve Yasal Raporlama” -desc “Müdür” Set-UserPhoto “TB191919” -PictureData ([System.IO.File]::ReadAllBytes(“C:\upload\TB191919.jpg”)) Get-mailbox -Identity TB191919 | Set-mailbox -EmailAddressPolicyEnabled $false Get-mailbox -Identity TB191919 | Set-mailbox -EmailAddressPolicyEnabled $true Get-ADUser… Read more »

Exchange User And Group Managament

      Yorum yok Exchange User And Group Managament

List Dynamic Group Members Get-Recipient -RecipientPreviewFilter (get-dynamicdistributiongroup <name of group>).RecipientFilter -OrganizationalUnit $group.RecipientContainer   List SoftDeleted Users Get-MailboxDatabase | Get-MailboxStatistics | where {$_.DisconnectReason -ne $null} | ft displayname,database,disconnectreason -auto Banner Change Set-ReceiveConnector -Identity “Default Frontend BANKEXC1” -Banner “220 mail.itmakale.com.tr ESMTP” Disconnected MailBox Get-MailboxDatabase | Get-MailboxStatistics | where {$_.DisconnectReason -ne $null} | ft displayname,database,disconnectreason -auto Get-MailboxStatistics -Database MBD01 | Where {$_.DisconnectReason -eq… Read more »

ESX Root Password Change

      Yorum yok ESX Root Password Change

ESX Root Password Change Fat16 (~150mb used /boot volume under) sudo -s mount /dev/sda5 /mnt cd /mnt ls cp state.tgz /tmp cd /tmp tar xzf state.tgz ls tar xzf local.tgz ls cd /tmp/etc vi shadow trim root line this value root::13358:0:99999:7::: cd .. tar czf local.tgz etc tar czf state.tgz local.tgz cp state.tgz /mnt/ umount /mnt