Exchange 2007/2010 – Hide users from global adress list (GAL)
Hide all users: 1, Connect PowerShell to Exchange. 2, Run the following command: Get-Mailbox Alias | Set-Mailbox -HiddenFromAddressListsEnabled...
How To Delete A Service
Works in (at least): Win7, 2008 Server, 2008 R2 Server. sc delete [Service Name] To find service name,...
VHD tool
VHD tool – A grate tool for creating, convert, extend and repair VHD files. It can be downloaded...
Resize disk in windows server 2003
To extend a disk in windows 2003 use diskpart. To use Diskpart.exe, follow these steps: Open a command...
List users and size of mailbox in Exchange 2007 and 2010 with Powershell
Get-Mailbox | Get-MailboxStatistics | select-object DisplayName, {$_.TotalItemSize.Value.ToMB()}
Install Nagios NPRE client on Windows
download the client from: http://nsclient.org/nscp/downloads (choose the *.zip file) and extract it to c:program files%foldername% Install the service from...
Find emails with Powershell commandlets
Get-MessageTrackingLog -start “12/18/2011 08:00” -Sender user@domain.com | Format-List sender, Recipients, timestamp, MessageSubject Get-MessageTrackingLog -MessageSubject Testsubject
Import PST file to exchange mailbox from Powershell
New-MailboxImportRequest –Mailbox bruker –FilePath \servermappenavn.pst
Get SMTP adresses with CSVDE (commandline) in Exchange 2003
This one gives you username and primary Email address csvde -f users.csv -r “(&(objectCategory=Person)(objectClass=user))” -l “sAMaccountname,mail” This...