SlideShare a Scribd company logo
1 of 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

More Related Content

Viewers also liked

Microsoft Exchange Conference (MEC) 2014 Highlights
Microsoft Exchange Conference (MEC) 2014 HighlightsMicrosoft Exchange Conference (MEC) 2014 Highlights
Microsoft Exchange Conference (MEC) 2014 HighlightsMichel de Rooij
 
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 RooijMichel 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 AutodiscoverMichel de Rooij
 
Exchange 2016 & Office Online Server
Exchange 2016 & Office Online ServerExchange 2016 & Office Online Server
Exchange 2016 & Office Online ServerMichel de Rooij
 
PowerShell Tips & Tricks for Exchange
PowerShell Tips & Tricks for ExchangePowerShell Tips & Tricks for Exchange
PowerShell Tips & Tricks for ExchangeMichel de Rooij
 
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 CarsLinkedIn
 

Viewers also liked (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
 

Similar to Exchange 2010 PowerShell and the Exchange 2003 Administrator

PowerShell Technical Overview
PowerShell Technical OverviewPowerShell Technical Overview
PowerShell Technical Overviewallandcp
 
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 PowershellSharePoint 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 PowershellSharePoint Saturday NY
 
Powershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge ClubPowershell Seminar @ ITWorx CuttingEdge Club
Powershell Seminar @ ITWorx CuttingEdge ClubEssam Salah
 
Introduction to PowerShell
Introduction to PowerShellIntroduction to PowerShell
Introduction to PowerShellBoulos Dib
 
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)Harold Wong
 
PowerShell for SharePoint Developers
PowerShell for SharePoint DevelopersPowerShell for SharePoint Developers
PowerShell for SharePoint DevelopersBoulos Dib
 
Power shell training
Power shell trainingPower shell training
Power shell trainingDavid Brabant
 
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.0jsnover1
 
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 PowerShellGeoff Varosky
 
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...SPTechCon
 
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 symfonyFrancois Zaninotto
 
Powershell Training
Powershell TrainingPowershell Training
Powershell TrainingFahad Noaman
 
NIIT ISAS Q5 Report - Windows PowerShell
NIIT ISAS Q5 Report - Windows PowerShellNIIT ISAS Q5 Report - Windows PowerShell
NIIT ISAS Q5 Report - Windows PowerShellPhan Hien
 
SharePoint for the .NET Developer
SharePoint for the .NET DeveloperSharePoint for the .NET Developer
SharePoint for the .NET DeveloperJohn Calvert
 
PowerShell 101
PowerShell 101PowerShell 101
PowerShell 101Thomas Lee
 
Sql Server & PowerShell
Sql Server & PowerShellSql Server & PowerShell
Sql Server & PowerShellAaron Shilo
 
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 powershellSunil Phani
 

Similar to 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
 

Recently uploaded

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
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?Igalia
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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 Scriptwesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Recently uploaded (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

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

Editor's Notes

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