SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Exchange 2010 PowerShell  and the Exchange 2003 Administrator Michel de Rooij | Dimension Data Maarten Piederiet | Conclusion FIT
Agenda Introductie PowerShell Wat, waarom, hoe, .. PowerShell & Exchange Demo Tips & Tricks Vragen
Wiegebruiktmomenteel .. Batchfiles? ,[object Object],Kixtart PowerShell Overigen? bash/ksh/perl/..
Wat? Interactieve command-line shell Scripting (interpreter) Platform voor Windows/Server beheer ITPro’szijngeendevelopers
Waarom? Management OS onderdelen Active Directory, Clustering, IIS Out-of-the-box connectiviteitnaar interfaces WMI, ADSI, .NET, COM GUI’s gebouwdbovenopPowerShell Produktondersteuning Exchange, Lync, Hyper-V R2, SQL Server 2008 R2, .. Common Engineering Criteriahttp://www.microsoft.com/cec/
Historie 2003: (Codename) Monad 2006: PowerShell v1.0 Optioneel: Windows Server 2003/2008, XP SP2/3, Vista ,[object Object],GeĂŻntegreerd: w2008 R2, w7 Beschikbaar: 2008 SP2, XP SP3, w2003 SP2, Vista SP1 (WMF) Extra features (X cmdlets) Remoting, Modules
Tools Console/Shell Powershell.exe Integrated Scripting Editor (PS2) Powershell_ise.exe 3rd Party Editors PowerGUI
Object Objectenhebben .. Methods (functies)- Start, Stop, Refresh .. Properties (attributen) - Name, Status, .. $obj= Get-Service wuauserv $obj.Start() $obj.Status
Variabelen Beginnen met $ Bevat(ten) object(en) Speciale variable: $_ $_ bevat huidige object in pipeline
Cmdlets Cmdlets .. werken op objecten, niettekst <Verb>-<Noun> Parameters .. Specificeren of sturenopdracht Vereist of optioneel Positioneel of niet Is van bepaald Type (String, Integer, ..) <Naam>(:)<Waarde>
Voorbeeld: Cmdlet Positioneel: ParameterNaam Parameter Waarde Cmdlet winlogon -name Get-Process String -Name Verb-Noun winlogon Get-Process
Pipeline Cmdlets werken met pipeline Output cmdlet A = input cmdlet B Pipeline eindigt in speciaal cmdlet Out-Default Zet output om in tekst Opmaak in lijst of tabel Filteren & ordenen objecten Sort-Object, Where-Object, .. Get-Mailbox | Where { $_.Database –eq “mdb01”}
Voorbeeld: Pipeline cmdlet | cmdlet Cmdlet Cmdlet object object object object object
Ontdek PowerShell Get-Help (help) Help functie Get-Command (gcm) Welke beschikbare opdrachten? Get-Member (gm) Welke methodes & properties? Voorbeelden Get-Help Get-Mailbox -Full Get-Command –noun Mailbox Get-Command –CommandType cmdlet Get-Mailbox MelleG | Get-Member help about*
Exchange & PowerShell On-Premise Exchange Management Shell Exchange 2007: PowerShell v1.0 Exchange 2010: PowerShell v2.0 Exchange Online / Office 365 Exchange Management Shell PowerShell v2.0
Demo Time!
Handig Tab Completion Aliassen dir, cd, type, c:, where, .. Get-Alias PowerShell Drives File System, Registry, Environment, AD, IIS, .. Get-PSDrive Where-Object (?) For-Each (%) ,[object Object],-WhatIf:$True Out-GridView
Handig (2) # Wat zijn de rechten op bepaalde mailbox? Get-Mailbox $TestMailbox | Get-MailboxPermission | ? { !$_.IsInherited } | ft User,AccessRights # Wat is de top 10 van grootste mailboxen Get-Mailbox | Get-MailboxStatistics | Sort TotalItemSize -desc | Select -First 10 | ft DisplayName,TotalItemSize # Rapporteer niet-lege queues Get-TransportServer | Get-Queue -filter {MessageCount -gt 0} ,[object Object],$cred= Get-Credential $o365= New-PsSession -ConfigurationNameMicrosoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -AllowRedirection -Authentication Basic Import-PsSession$o365 –Prefix o365 Get-o365Mailbox
Opletten Set-Executionpolicy Default = Restricted = Geen Scripts Bypass, Unrestricted, RemoteSigned, .. Get-Help about_Execution_Policies “” en ‘’ (expansie variabelen) , (array) -ResultSize Unlimited (default 1000) Credentials $cred= Get-Credential New-MoveRequest.. -RemoteCredential$cred ,[object Object],[object Object]
Vragen?
Bedanktvooruwaandacht! Michel de Rooij: E-mail: 	michel.de.rooij@ngn.nl Blog:	http://eightwone.com Twitter:	@mderooij Maarten Piederiet: E-mail:	maarten.piederiet@cfit.nl Twitter:	@MPiederiet
Exchange 2010 PowerShell and the Exchange 2003 Administrator

Weitere Àhnliche Inhalte

Andere mochten auch

Andere mochten auch (6)

Microsoft Exchange Conference (MEC) 2014 Highlights
Microsoft Exchange Conference (MEC) 2014 HighlightsMicrosoft Exchange Conference (MEC) 2014 Highlights
Microsoft Exchange Conference (MEC) 2014 Highlights
 
20121031 NGN Exchange Tips and Tricks by Michel De Rooij
20121031 NGN Exchange Tips and Tricks by Michel De Rooij20121031 NGN Exchange Tips and Tricks by Michel De Rooij
20121031 NGN Exchange Tips and Tricks by Michel De Rooij
 
Amazing Autodiscover(ies), Exchange 2007/2010 Autodiscover
Amazing Autodiscover(ies), Exchange 2007/2010 AutodiscoverAmazing Autodiscover(ies), Exchange 2007/2010 Autodiscover
Amazing Autodiscover(ies), Exchange 2007/2010 Autodiscover
 
Exchange 2016 & Office Online Server
Exchange 2016 & Office Online ServerExchange 2016 & Office Online Server
Exchange 2016 & Office Online Server
 
PowerShell Tips & Tricks for Exchange
PowerShell Tips & Tricks for ExchangePowerShell Tips & Tricks for Exchange
PowerShell Tips & Tricks for Exchange
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Ähnlich wie Exchange 2010 PowerShell and the Exchange 2003 Administrator

Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
SharePoint Saturday NY
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
SharePoint Saturday NY
 
Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0
jsnover1
 
Powershell Training
Powershell TrainingPowershell Training
Powershell Training
Fahad Noaman
 

Ähnlich wie Exchange 2010 PowerShell and the Exchange 2003 Administrator (20)

PowerShell Technical Overview
PowerShell Technical OverviewPowerShell Technical Overview
PowerShell Technical Overview
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
 
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with PowershellBrian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
 
Powershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge ClubPowershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge Club
 
Windows PowerShell
Windows PowerShellWindows PowerShell
Windows PowerShell
 
Powershell: Tu nuevo mejor amigo
Powershell: Tu nuevo mejor amigoPowershell: Tu nuevo mejor amigo
Powershell: Tu nuevo mejor amigo
 
Introduction to PowerShell
Introduction to PowerShellIntroduction to PowerShell
Introduction to PowerShell
 
24 Hours Of Exchange Server 2007 ( Part 9 Of 24)
24  Hours Of  Exchange  Server 2007 ( Part 9 Of 24)24  Hours Of  Exchange  Server 2007 ( Part 9 Of 24)
24 Hours Of Exchange Server 2007 ( Part 9 Of 24)
 
PowerShell for SharePoint Developers
PowerShell for SharePoint DevelopersPowerShell for SharePoint Developers
PowerShell for SharePoint Developers
 
Power shell training
Power shell trainingPower shell training
Power shell training
 
Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0Wsv406 Advanced Automation Using Windows Power Shell2.0
Wsv406 Advanced Automation Using Windows Power Shell2.0
 
Automating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShellAutomating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShell
 
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
 
Simplify your professional web development with symfony
Simplify your professional web development with symfonySimplify your professional web development with symfony
Simplify your professional web development with symfony
 
Powershell Training
Powershell TrainingPowershell Training
Powershell Training
 
NIIT ISAS Q5 Report - Windows PowerShell
NIIT ISAS Q5 Report - Windows PowerShellNIIT ISAS Q5 Report - Windows PowerShell
NIIT ISAS Q5 Report - Windows PowerShell
 
SharePoint for the .NET Developer
SharePoint for the .NET DeveloperSharePoint for the .NET Developer
SharePoint for the .NET Developer
 
PowerShell 101
PowerShell 101PowerShell 101
PowerShell 101
 
Sql Server & PowerShell
Sql Server & PowerShellSql Server & PowerShell
Sql Server & PowerShell
 
Sunil phani's take on windows powershell
Sunil phani's take on windows powershellSunil phani's take on windows powershell
Sunil phani's take on windows powershell
 

KĂŒrzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

KĂŒrzlich hochgeladen (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Exchange 2010 PowerShell and the Exchange 2003 Administrator

  • 1. Exchange 2010 PowerShell and the Exchange 2003 Administrator Michel de Rooij | Dimension Data Maarten Piederiet | Conclusion FIT
  • 2. Agenda Introductie PowerShell Wat, waarom, hoe, .. PowerShell & Exchange Demo Tips & Tricks Vragen
  • 3.
  • 4. Wat? Interactieve command-line shell Scripting (interpreter) Platform voor Windows/Server beheer ITPro’szijngeendevelopers
  • 5. Waarom? Management OS onderdelen Active Directory, Clustering, IIS Out-of-the-box connectiviteitnaar interfaces WMI, ADSI, .NET, COM GUI’s gebouwdbovenopPowerShell Produktondersteuning Exchange, Lync, Hyper-V R2, SQL Server 2008 R2, .. Common Engineering Criteriahttp://www.microsoft.com/cec/
  • 6.
  • 7. Tools Console/Shell Powershell.exe Integrated Scripting Editor (PS2) Powershell_ise.exe 3rd Party Editors PowerGUI
  • 8. Object Objectenhebben .. Methods (functies)- Start, Stop, Refresh .. Properties (attributen) - Name, Status, .. $obj= Get-Service wuauserv $obj.Start() $obj.Status
  • 9. Variabelen Beginnen met $ Bevat(ten) object(en) Speciale variable: $_ $_ bevat huidige object in pipeline
  • 10. Cmdlets Cmdlets .. werken op objecten, niettekst <Verb>-<Noun> Parameters .. Specificeren of sturenopdracht Vereist of optioneel Positioneel of niet Is van bepaald Type (String, Integer, ..) <Naam>(:)<Waarde>
  • 11. Voorbeeld: Cmdlet Positioneel: ParameterNaam Parameter Waarde Cmdlet winlogon -name Get-Process String -Name Verb-Noun winlogon Get-Process
  • 12. Pipeline Cmdlets werken met pipeline Output cmdlet A = input cmdlet B Pipeline eindigt in speciaal cmdlet Out-Default Zet output om in tekst Opmaak in lijst of tabel Filteren & ordenen objecten Sort-Object, Where-Object, .. Get-Mailbox | Where { $_.Database –eq “mdb01”}
  • 13. Voorbeeld: Pipeline cmdlet | cmdlet Cmdlet Cmdlet object object object object object
  • 14. Ontdek PowerShell Get-Help (help) Help functie Get-Command (gcm) Welke beschikbare opdrachten? Get-Member (gm) Welke methodes & properties? Voorbeelden Get-Help Get-Mailbox -Full Get-Command –noun Mailbox Get-Command –CommandType cmdlet Get-Mailbox MelleG | Get-Member help about*
  • 15. Exchange & PowerShell On-Premise Exchange Management Shell Exchange 2007: PowerShell v1.0 Exchange 2010: PowerShell v2.0 Exchange Online / Office 365 Exchange Management Shell PowerShell v2.0
  • 17.
  • 18.
  • 19.
  • 21. Bedanktvooruwaandacht! Michel de Rooij: E-mail: michel.de.rooij@ngn.nl Blog: http://eightwone.com Twitter: @mderooij Maarten Piederiet: E-mail: maarten.piederiet@cfit.nl Twitter: @MPiederiet

Hinweis der Redaktion

  1. Common Engineering Criteria &gt; Scorecards – Jan’10
  2. Powershellondersteunt OO conceptenklassen, overerving en polymorphisme