SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

En vedette

En vedette (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
 

Similaire à 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
 
Powershell Training
Powershell TrainingPowershell Training
Powershell Training
Fahad Noaman
 

Similaire à 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
 

Dernier

+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@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

+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...
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation 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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

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

Notes de l'éditeur

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