Get-ADUser -SearchBase "OU=Accounts,OU=RootOU,DC=ChildDomain,DC=RootDomain,DC=com" -Filter *
`n = new line
‘r = carriage return
\\HOSTNAME\c$\Windows\debug
Open ‘NetSetup.txt’
Ctrl-Alt-END
If you have the following error:
——————————————————– Microsoft Exchange Error ——————————————————– Cannot activate database copy ‘Activate Database Copy…’. Activate Database Copy… Failed Error: An Active Manager operation failed. Error The database action failed. Error: An error occurred while trying to validate the specified database copy for possible activation. Error: Database copy ‘db1′ on server ‘dag1′ has content index catalog files in the following state: ‘Failed’.. [Database: db1, Server: dag1] An Active Manager operation failed. Error An error occurred while trying to validate the specified database copy for possible activation. Error: Database copy ‘db1′ on server ‘dag1′ has content index catalog files in the following state: ‘Failed’..First view / verify the copy status.
Get-MailboxDatabaseCopyStatus | fl name, contentindexstateUpdate the catalog
Update-MailboxDatabaseCopy "db1/dag1" -CatalogOnly
(Get-Mailbox -resultsize unlimited).count
Set-MailboxMessageConfiguration -Identity USERNAME -ReadReceiptResponse neversend
Set-Mailbox -Identity username -ForwardingAddress $null
Get-Recipient -resultSize unlimited | select name -expand emailAddresses | where {$_.smtpAddress -match ".*scs*"} | Format-Table name, smtpaddress
Search-Mailbox -Identity “USERNAME” -DeleteContent