FREE eBook: The SysAdmin Handbook

Een aantal mensen van Red-Gate hebben weer een mooi ebook geschreven wat elke Microsoft/Exchange beheerder moeten weten. Het is een samenvatting van The Best of
Simple Talk SysAdmin

De Onderwerpen:

Exchange
– High Availability in Exchange 2007
– Message Hygiene in Exchange Server 200731
– Using Exchange 2007 for Resource Booking
– Controlling Email Messages using Exchange’s Transport Rules
– Exchange 2007 Mailbox Server Clustering
– Top Tips for Exchange Admins
– Exchange Database Technologies
– Message Classifications in Exchange 2007
– Deploying Exchange 2007 on Windows Server 2008
– Exchange Server Log File Replay
– Configuring Exchange Server 2007 to Support Information Rights Management
– Reporting on Mobile Device Activity Using Exchange 2007 ActiveSync Logs
– Online Exchange Backups
– Optimizing Exchange Server 2007
– Exchange: Recovery Storage Groups
– Exchange E-mail Addresses and the Outlook Address Cache
– Upgrading to Exchange Server 2007
– Goodbye Exchange ExMerge, Hello Export-Mailbox
– Determining MS Exchange Disk Performance
– Upgrading to Exchange Server 2007: Part 2
– Message Tracking in Exchange 2007
– Third Party High Availability and Disaster Recovery Tools for Microsoft Exchange Server
– Exchange Server 2010 – The First Public Beta Version
– Emulating the Exchange 2003 RUS for Out-of-Band Mailbox Provisioning in Exchange 2007
– Using Exchange 2007 Transport Rules to Protect the First Entry in the Address Book
– Cluster Continuous Replication Network Design
– Building an Exchange Server 2007 environment
– An Introduction to Messaging Records Management
– Installing Hyper-V and Beyond
– Restricting Outlook Client Versions in Exchange 2007
– Using Twitter and PowerShell to Find Technical Information and Join a Community
– Update: Exchange Server 2010 Release Candidate
– Exchange backups on Windows Server 2008
– Moving to Office Communications Server 2007 R2
– Monitoring and Scheduling Exchange 2007 Database Online Maintenance
– Exchange 2010 High Availability
– Implementing Cluster Replication – Part 1
– The Active Directory Recycle Bin in Windows Server 2008 R2
– Using Group Policy to Restrict the use of PST Files
– Introduction to Exchange Server 2010
– The Ego and the System Administrator
– Implementing Windows Server 2008 File System Quotas
– Implementing Cluster Continuous Replication, Part 2
– Active Directory Management with PowerShell in Windows Server 2008 R2
– Upgrade Exchange 2003 to Exchange 2010
– Customizing the Outlook Address Book

General Articles
– A SysAdmin’s Guide to Change Management
– A SysAdmin’s Guide to Users
– Change Management – What It Is and Why You Need It
– Manage Stress Before it Kills You
– Hiring System Administrators
– Increase Your Value as a Professional in the Technical Industry
– The Art of Dealing with People

Virtualization
– Virtual Exchange Servers
– Virtualizing Exchange: points for discussion
– Build Your Own Virtualized Test Lab
– A Beginner’s Guide to Virtualizing Exchange Server – Part 1
– A Beginner’s Guide to Virtualizing Exchange Server – Part 2
– Windows Server Virtualisation: Hyper-V, an Introduction
– Increasing the Availability of Virtualized Applications and Services
– Microsoft Hyper-V Networking and Configuration – Part 1

Unified Messaging
– An Introduction to Unified Messaging
– Moving to Office Communications Server 2007 R2

PowerShell
– Managing Exchange 2007 Mailbox Quotas with Windows PowerShell
– So You Thought PowerShell Was Only For Exchange 2007

Downloaden klik op het boek

image

Exchange 2007 Migratie to Exchange 2010 Moving Offline Address Book

Onder Exchange 2010 Organisatie Configuratie –> Mailbox –> Offline Address Book

clip_image002clip_image004

clip_image006clip_image008

Powershell
Move-OfflineAddressBook -Identity ‘\Default Offline Address Book’ -Server ‘Ward-Ex02’

Exchange 2010 Global Settings

Onder Exchange 2010 Organisatie Configuratie –> Hub Transport –>  Global Settings

clip_image002

Powershell

Set-TransportConfig –ExternalPostmasterAddress postmaster@wardvissers.nl

Set-TransportConfig -MaxSendSize ‘20mb’

Set-TransportConfig -MaxRecipientEnvelopeLimit 5000

Set-TransportConfig –MaxReceiveSize ‘20mb’

Exchange 2010 Send Connector

Onder Exchange 2010 Organisatie Configuratie –> Hub Trans Port –> Send Connector

Optie 1 EMC

clip_image002clip_image004

clip_image006clip_image008

clip_image010clip_image012

Optie 2 Powershell

New-SendConnector –Name ‘External’ –Usage ‘Internet’ –AddressSpaces ‘SMTP:*;1’

–DNSRoutingEnabled $true –UseExternalDNSServersEnabled $false –Fqdn ‘mail.wardvissers.nl’



Exchange 2010 Create Powershell Database

clip_image002clip_image004

clip_image006clip_image008
clip_image010clip_image012

Powershell
New-PublicFolderDatabase "Public Folders" -Server SERVER01

Mount-Database "Public Folders"

New-PublicFolderDatabase Support -Server SERVER02 -EdbFilePath E:\Databases\Support\Support.edb -LogFilePath D:\Logs\Support

Mount-Database Support

Installeren Windows 7 RSAT unattended

Feature Names:
RemoteServerAdministrationTools
RemoteServerAdministrationTools-ServerManager

RemoteServerAdministrationTools-Roles

RemoteServerAdministrationTools-Roles-CertificateServices
RemoteServerAdministrationTools-Roles-CertificateServices-CA
RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder
RemoteServerAdministrationTools-Roles-AD
RemoteServerAdministrationTools-Roles-AD-DS
RemoteServerAdministrationTools-Roles-AD-DS-SnapIns
RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter
RemoteServerAdministrationTools-Roles-AD-DS-NIS
RemoteServerAdministrationTools-Roles-AD-LDS
RemoteServerAdministrationTools-Roles-AD-Powershell
RemoteServerAdministrationTools-Roles-DHCP
RemoteServerAdministrationTools-Roles-DNS
RemoteServerAdministrationTools-Roles-FileServices
RemoteServerAdministrationTools-Roles-FileServices-Dfs
RemoteServerAdministrationTools-Roles-FileServices-Fsrm
RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt
RemoteServerAdministrationTools-Roles-HyperV
RemoteServerAdministrationTools-Roles-RDS
RemoteServerAdministrationTools-Features

RemoteServerAdministrationTools-Features-BitLocker
RemoteServerAdministrationTools-Features-Clustering
RemoteServerAdministrationTools-Features-GP
RemoteServerAdministrationTools-Features-LoadBalancing
RemoteServerAdministrationTools-Features-SmtpServer
RemoteServerAdministrationTools-Features-StorageExplorer
RemoteServerAdministrationTools-Features-StorageManager
RemoteServerAdministrationTools-Features-Wsrm

Step 1. Installatie the RSAT MSU pakket

wusa  x86fre_GRMRSAT_MSU.msu /quiet  (x86)
wusa  amd64fre_GRMRSATX_MSU.msu /quiet  (x64)

Stap 2 Alle beschikbare opties:

dism /Online /Get-Features

Stap 3: Aanzetten van de beschikbare Opties

dism /Online /Enable-Feature /FeatureName:<FeatureName>

Voorbeeld
Ik wil Active Directory snap ins uitrollen.

wusa Windows6.1-KB958830-x86.msu /quiet
dism /online /enable-feature /featurename:RemoteServerAdministrationTools
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS
dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns

Virtualization EcoShell

De meeste van ons kennen PowerGui van Quest. Hier mee kun je powerpacks maken van Powershell Scripts.
Aangezien Quest Software Vizioncore heeft overgenomen. Heeft een Vizioncore een gratis en handig product op de markt gezet genaamd:  Virtualization EcoShell. Dit stukje software wordt gesponserd door VizionCore. De makers van deze tool zijn de VESI™ Community.

Wat is nu de EcoShell:
De Virtualization EcoShell biedt een eenvoudige, consistente en geïntegreerde beheer user interface voor het creëren, debuggen en vereenvoudiging van het beheer van Windows PowerShell scripts.
Voor downloads en informatie over het installeren van de Virtualisatie EcoShell, bezoekt u de Virtualisatie EcoShell download pagina.

Meer en meer bedrijven gebruiken Windows PowerShell scripts op verschillende platformen.
De Virtualisatie EcoShell gepositioneerd is voor IT-beheerders, adviseurs, en consultants die alles moeten beheren en terug kerende taken te automatiseren . Gecentraliseerd beheer van servers. De Virtualisatie EcoShell bespaart dagelijks tijd voor beheerders voor het beheer van virtuele omgevingen.

Wat heb je nodig om er gebruik van te kunnen maken.

Windows PowerShell Version 1.0
VMware PowerCLI 4.0
Quest PowerShell Commands for Active Directory Version 1.2
32-Bit  |  64-Bit
Virtualization EcoShell Build 1.2.0.154

Zo ziet de Virtualization EcoShell er uit.
image

Installeer Exchange 2010 op Windows 2008 R2 in een Windows 2008 R2 Domein

1. Op servers die de Hub Transport of Mailbox server rol krijgen, installeer het Microsoft Filter Pack. Voor details, zie 2007 Office system Converter: Microsoft Filter Pack.

2. Open het menu Start, ga naar Alle programma’s dan Accessoires dan Windows PowerShell. Open een verhoogde Windows PowerShell console en voer het volgende commando:

Import-Module ServerManager

3. Gebruik de Servermananger cmdlet het installeren van de nodige onderdelen van het besturingssysteem:

servermanagercmd -i NET-Framework
servermanagercmd -i RSAT-ADDS
servermanagercmd -i Web-Server
servermanagercmd -i Web-Basic-Auth,
servermanagercmd -i Web-Windows-Auth
servermanagercmd -i Web-Metabase
servermanagercmd -i Web-Net-Ext
servermanagercmd -i Web-Lgcy-Mgmt-Console,
servermanagercmd -i WAS-Process-Model,
servermanagercmd -i RSAT-Web-Server
servermanagercmd -i Web-ISAPI-Ext
servermanagercmd -i Web-Digest-Auth
servermanagercmd -i Web-Dyn-Compression
servermanagercmd -i NET-HTTP-Activation
servermanagercmd -i RPC-Over-HTTP-Proxy
servermanagercmd -Restart

http://technet.microsoft.com/en-us/library/bb691354(EXCHG.140).aspx

4. Nadat het systeem opnieuw is opgestart, meldt u aan als beheerder, opent u een verhoogde Windows PowerShell console en configureren van de Net.Tcp Port Sharing Service voor Automatisch opstarten door het volgende commando:

Set-Service NetTcpPortSharing -StartupType Automatic

5. Installeer Exchange 2010
image image
image image
image image

image image
image image

image image
image

Exporteer alle email adressen onder Exchange 2007 (Public Folder,Mailbox, Mail Contact en Distribution Group) naar een tekstdocument met powershell

Export alle e-mailadressen van Exchange 2007 omgeving met powershell naar tekst documenten.

Als je alle powershell commando’s in een document zet dan heb je alle e-mail adressen.

Public Folder
Get-Mailpublicfolder | format-list Name, Emailaddresses > c:\publicfolder.txt

Mailbox
Get-Mailbox | format-list Name, Emailaddresses > c:\mailbox.txt

Distributiongroup
get-distributiongroup  | format-list Name, Emailaddresses > c:\distributiongroup.txt

MailContact
get-mailcontact  | format-list Name, Emailaddresses > c:\mailcontact.txt

Translate »