/bin/rm: cannot execute [Argument list too long]

The reason this occurs is because bash actually expands the asterisk to every matching file, producing a very long command line. Try this: find . -name “*.pdf” -print0 | xargs -0 rm Warning: this is a recursive search and will find (and delete) files in subdirectories as well. Tack on -f to the rm command … Read more

Mailbox export requests in Exchange 2010

Get-MailboxExportRequest to see all the requests Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest to remove the completed. Get-MailboxExportRequest | Remove-MailboxExportRequest to remove all of them http://www.falconitservices.com/support/KB/Lists/Posts/Post.aspx?ID=115 $mailboxes = get-mailbox foreach ($mailbox in $mailboxes) { new-mailboxexportrequest -mailbox $mailbox -FilePath \\server\share\$mailbox.pst }

Exchange 2010 Litigation Hold

Understanding Litigation Hold http://technet.microsoft.com/en-us/library/ee861123.aspx When a reasonable expectation of litigation exists, organizations are required to preserve electronically stored information (including e-mail) that’s relevant to the case. This expectation can occur before the specifics of the case are known, and preservation is often broad. Organizations may preserve all e-mail related to a specific topic, or all … Read more

Integrating Mac OS X with Active Directory

http://www.google.ca/url?sa=t&rct=j&q=integrating%20mac%20os%20x%20with%20active%20directory&source=web&cd=1&sqi=2&ved=0CFMQFjAA&url=http%3A%2F%2Fwww.seminars.apple.com%2Fcontactme%2Fpdf%2FL334436B_ActiveDirect_WP.pdf&ei=yXHFT-JAwY7qAZKMoakG&usg=AFQjCNF6ltaL3K8PRoGjD7PJ3m3qp4SIOg&sig2=RU8qxRDyZNHQd_3KQtBX9g&cad=rja  

Finding disabled user accounts in Active Directory Domain Services

http://technet.microsoft.com/en-us/library/ee176949.aspx#EEAA I f  Get-ExecutionPolicy returns restricted you are3 not able to run powershell scripts : PS C:\> c:\locatedisabledusers.ps1 File C:\locatedisabledusers.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please se e “get-help about_signing” for more details. At line:1 char:27 + c:\locatedisabledusers.ps1 <<<< + CategoryInfo : NotSpecified: (:) [], PSSecurityException + … Read more