SlideShare une entreprise Scribd logo
1  sur  23
Windows PowerShell V2 en action Patrick Guimonet Architecte Microsoft France http://blogs.technet.com/powershell Antoine Habert MVP PowerShell Nelite http://www.devinfra.blogspot.com/
AgendaWindows PowerShell V2 en action Introduction Nouvelles fonctionnalités Démo 1 : Interface graphique & PowerShell Démo 2 Démo 3 Démo 4 PoshBoard V2 Conclusion
Windows PowerShellLe langage de lignes de commande et de scripts  ,[object Object]
Mais spécifiquement Windows car reposant sur l'environnement .Net
Syntaxe proche du C#
Tous les produits serveurs de Microsoft doivent supporter PowerShell,[object Object]
Architecture de PowerShell
Thèmes PowerShell 2.0 Scripts de production Environnement automatisé Interface graphique & PowerShell Langage & Cmdlets
Interface graphique & PowerShell Console graphique Nouvelles APIs Bibliothèques graphiques PSSession Pooling Out-Gridview Contrôle de Thread
Démo 1 Interface graphique & PowerShell
Les 4 commandes de découverte Get-Commandinformations de base sur les commandes Get-help		aide de base  (utiliser–full) Get-memberinformationssur les objets Get-PSDriveinformationssur les lecteursétendus Get-command Get-help Get-member Get-psdrive parmi 129 commandesintégréesou “cmdlets” 	commandettes? 411 en PS V2 !
Scripts de production Fonctionsavancées Fonctionsavancées Debugger Code natif Restricted Language Modules Transactions
Démo 2 Scripts de production :Fonctions avancéesModulesAide
Environnement automatisé Execution à distance Jobs Evènements Sessions restraintes Mobile Object Model
PSSession PSSession Functions Aliases Variables PowerShell v2 WinRM .Net Framework 2.0 PSSession
Remote Architecture PSSession Get-Process XML SOAP HTTPS TCP Port 80
Démo 3 Environnement automatisé :JobsExécution à distanceEvènements
Retours de la communauté Améliorations du langage Adaptateursd'objetsaméliorés WMI++ Nouvelles Cmdlets
Nouvelles Cmdlets …. Remoting: Invoke-Command New-PSSession Get-PSSession Push-PSSession Pop-PSSession Remove-PSSession Converting Types: Add-Type ConvertTo-Csv ConvertFrom-Csv ConvertTo-Xml ConvertFrom-StringData Event Viewer and ETW Logs: Get-Event  Script Internationalization: Import-LocalizedData Modules: Imort-Module Get-Module Remove-Module Export-ModuleMember Transactions: Complete-Transaction Start-Transaction Undo-Transaction Use-Transaction Debugging: Set-PSBreakpoint Get-PSBreakpoint Enable-PSBreakpoint Disable-PSBreakpoint Remove-PSBreakpoint Get-PSCallStack  Eventing: Register-ObjectEvent Register-Event Wait-Event  Remove-Event Unregister-Event  Get-Event New-Event Get-EventSubscriber Background Jobs: Start-Job Get-Job Stop-Job Receive-Job Wait-Job  Remove-Job WMI: Register-WMIEvent Set-WMIInstance Invoke-WMIMethod Remove-WMIObject More Cmdlets: Clear-History Get-Random Out-GridView Set-StrictMode Update-List Wait-Process Computer Add-Computer Checkpoint-Computer Disable-ComputerRestore Enable-ComputerRestore Get-ComputerRestorePoint Remove-Computer Rename-Computer Reset-ComputerMachinePassword Restart-Computer Restore-Computer Stop-Computer Test-ComputerSecureChannel
Démo 4 Un dernier exemple…
Démo 5 PoshBoard V2par Antoine HabertMVP PowerShell
MS Days 2009 PoshBoard 2.0-Présentation des nouveautés 7 Octobre 2009 Antoine Habert Architecte Infrastructure et développement MVP PowerShell
Qu’est ce que PoshBoard Portail IT open source basé sur PowerShell (1.0 et 2.0), Silverlight et ASP.NET http://poshboard.codeplex.com http://www.poshboard.com Permet la génération d’élément graphique Silverlight à partir de code PowerShell (Graphiques, tableaux…) Utilisé pour : Génération de rapport statistiques (Hard / Soft, Virtualisation, annuaires, System Center…) Création d’interface de gestion (Provisioning, exploitation…) 21

Contenu connexe

Tendances

Tp2: Installation d'une couche d’abstraction entre un robot physique et ros
Tp2: Installation d'une couche d’abstraction entre un robot physique et rosTp2: Installation d'une couche d’abstraction entre un robot physique et ros
Tp2: Installation d'une couche d’abstraction entre un robot physique et rosSaid Benaissa
 
Le blog technique de laurent besson(1)
Le blog technique de laurent besson(1)Le blog technique de laurent besson(1)
Le blog technique de laurent besson(1)boblapointe
 
Orchestrez vos projets Symfony sans fausses notes
Orchestrez vos projets Symfony sans fausses notesOrchestrez vos projets Symfony sans fausses notes
Orchestrez vos projets Symfony sans fausses notesXavier Gorse
 
Développement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntu
Développement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntuDéveloppement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntu
Développement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntuAhmed Archive
 
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops) Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops) Joël Séguillon
 
Compte rendu chaberge
Compte rendu chabergeCompte rendu chaberge
Compte rendu chabergeshiruh
 

Tendances (7)

Tp2: Installation d'une couche d’abstraction entre un robot physique et ros
Tp2: Installation d'une couche d’abstraction entre un robot physique et rosTp2: Installation d'une couche d’abstraction entre un robot physique et ros
Tp2: Installation d'une couche d’abstraction entre un robot physique et ros
 
Le blog technique de laurent besson(1)
Le blog technique de laurent besson(1)Le blog technique de laurent besson(1)
Le blog technique de laurent besson(1)
 
Orchestrez vos projets Symfony sans fausses notes
Orchestrez vos projets Symfony sans fausses notesOrchestrez vos projets Symfony sans fausses notes
Orchestrez vos projets Symfony sans fausses notes
 
Développement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntu
Développement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntuDéveloppement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntu
Développement avec Intégration continue:Git, Jenkins, Tomcat, CentOS, ubuntu
 
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops) Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
 
Compte rendu chaberge
Compte rendu chabergeCompte rendu chaberge
Compte rendu chaberge
 
Power Shell V2 Full
Power Shell V2 FullPower Shell V2 Full
Power Shell V2 Full
 

En vedette

F Les Scripts En Power Shell
F Les Scripts En Power ShellF Les Scripts En Power Shell
F Les Scripts En Power ShellUGAIA
 
2008-09-30 Administration automatisée avec Powershell
2008-09-30 Administration automatisée avec Powershell2008-09-30 Administration automatisée avec Powershell
2008-09-30 Administration automatisée avec PowershellPatrick Guimonet
 
Using PowerShell for active directory management
Using PowerShell for active directory managementUsing PowerShell for active directory management
Using PowerShell for active directory managementRavikanth Chaganti
 
Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...
Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...
Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...Microsoft Technet France
 
Cao COMT manuscript
Cao COMT manuscriptCao COMT manuscript
Cao COMT manuscriptyufeicao
 
Powershell
PowershellPowershell
PowershellUGAIA
 
An Introduction to Windows PowerShell
An Introduction to Windows PowerShellAn Introduction to Windows PowerShell
An Introduction to Windows PowerShellDale Lane
 
Comment automatiser les commandes PowerShell pour optimiser la performance d'...
Comment automatiser les commandes PowerShell pour optimiser la performance d'...Comment automatiser les commandes PowerShell pour optimiser la performance d'...
Comment automatiser les commandes PowerShell pour optimiser la performance d'...Microsoft Décideurs IT
 
Shell sans les coquilles
Shell sans les coquillesShell sans les coquilles
Shell sans les coquillesÉdouard Lopez
 

En vedette (13)

F Les Scripts En Power Shell
F Les Scripts En Power ShellF Les Scripts En Power Shell
F Les Scripts En Power Shell
 
Manuel pour les utilisateurs de Zimbra
Manuel pour les utilisateurs de ZimbraManuel pour les utilisateurs de Zimbra
Manuel pour les utilisateurs de Zimbra
 
2008-09-30 Administration automatisée avec Powershell
2008-09-30 Administration automatisée avec Powershell2008-09-30 Administration automatisée avec Powershell
2008-09-30 Administration automatisée avec Powershell
 
Powershell et les techniques de remoting
Powershell et les techniques de remoting Powershell et les techniques de remoting
Powershell et les techniques de remoting
 
Using PowerShell for active directory management
Using PowerShell for active directory managementUsing PowerShell for active directory management
Using PowerShell for active directory management
 
Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...
Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...
Automatisez rapidement vos opérations IT, on-premise ou dans le Cloud avec Az...
 
Powershell Demo Presentation
Powershell Demo PresentationPowershell Demo Presentation
Powershell Demo Presentation
 
Cao COMT manuscript
Cao COMT manuscriptCao COMT manuscript
Cao COMT manuscript
 
Powershell
PowershellPowershell
Powershell
 
An Introduction to Windows PowerShell
An Introduction to Windows PowerShellAn Introduction to Windows PowerShell
An Introduction to Windows PowerShell
 
Comment automatiser les commandes PowerShell pour optimiser la performance d'...
Comment automatiser les commandes PowerShell pour optimiser la performance d'...Comment automatiser les commandes PowerShell pour optimiser la performance d'...
Comment automatiser les commandes PowerShell pour optimiser la performance d'...
 
Shell sans les coquilles
Shell sans les coquillesShell sans les coquilles
Shell sans les coquilles
 
Sp summit2014 session 10-2
Sp summit2014   session 10-2Sp summit2014   session 10-2
Sp summit2014 session 10-2
 

Similaire à Power Shell V2 en action - avec Posh Board 2.0

Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...GSoft
 
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...Franck Cornu
 
Les méthodes agiles dans TFS
Les méthodes agiles dans TFSLes méthodes agiles dans TFS
Les méthodes agiles dans TFSDenis Voituron
 
Intégration continue des projets PHP avec Jenkins
Intégration continue des projets PHP avec JenkinsIntégration continue des projets PHP avec Jenkins
Intégration continue des projets PHP avec JenkinsHugo Hamon
 
Messaging temps réel avec Go
Messaging temps réel avec GoMessaging temps réel avec Go
Messaging temps réel avec GoMickaël Rémond
 
Asp Au Service Des Mv Ps
Asp Au Service Des Mv PsAsp Au Service Des Mv Ps
Asp Au Service Des Mv PsGregory Renard
 
Intégration Continue PHP avec Jenkins CI
Intégration Continue PHP avec Jenkins CIIntégration Continue PHP avec Jenkins CI
Intégration Continue PHP avec Jenkins CIHugo Hamon
 
Soutenance Zend Framework vs Symfony
Soutenance Zend Framework vs SymfonySoutenance Zend Framework vs Symfony
Soutenance Zend Framework vs SymfonyVincent Composieux
 
Virtualisation et intégration des applications d'entreprise en environnement ...
Virtualisation et intégration des applications d'entreprise en environnement ...Virtualisation et intégration des applications d'entreprise en environnement ...
Virtualisation et intégration des applications d'entreprise en environnement ...Kouotou Aboubakar Sidiki, Eng, PMP
 
Rich Desktop Applications
Rich Desktop ApplicationsRich Desktop Applications
Rich Desktop Applicationsgoldoraf
 
Solution d'OTA
Solution d'OTASolution d'OTA
Solution d'OTASidereo
 
WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
 WordCamp Lyon 2015 - WordPress, Git et l'intégration continue WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
WordCamp Lyon 2015 - WordPress, Git et l'intégration continueStéphane HULARD
 
Python application packaging @ MeilleursAgents
Python application packaging @ MeilleursAgentsPython application packaging @ MeilleursAgents
Python application packaging @ MeilleursAgentsNicolas Mussat
 
Build automatique et distribution OTA avec Xcode 4.x et Jenkins
Build automatique et distribution OTA avec Xcode 4.x et JenkinsBuild automatique et distribution OTA avec Xcode 4.x et Jenkins
Build automatique et distribution OTA avec Xcode 4.x et JenkinsCocoaHeads France
 
[FR] C'est quoi une API ?
[FR] C'est quoi une API ?[FR] C'est quoi une API ?
[FR] C'est quoi une API ?OVHcloud
 

Similaire à Power Shell V2 en action - avec Posh Board 2.0 (20)

Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
 
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
 
Les méthodes agiles dans TFS
Les méthodes agiles dans TFSLes méthodes agiles dans TFS
Les méthodes agiles dans TFS
 
Intégration continue des projets PHP avec Jenkins
Intégration continue des projets PHP avec JenkinsIntégration continue des projets PHP avec Jenkins
Intégration continue des projets PHP avec Jenkins
 
Messaging temps réel avec Go
Messaging temps réel avec GoMessaging temps réel avec Go
Messaging temps réel avec Go
 
Asp Au Service Des Mv Ps
Asp Au Service Des Mv PsAsp Au Service Des Mv Ps
Asp Au Service Des Mv Ps
 
Intégration Continue PHP avec Jenkins CI
Intégration Continue PHP avec Jenkins CIIntégration Continue PHP avec Jenkins CI
Intégration Continue PHP avec Jenkins CI
 
iTunes Stats
iTunes StatsiTunes Stats
iTunes Stats
 
Soutenance Zend Framework vs Symfony
Soutenance Zend Framework vs SymfonySoutenance Zend Framework vs Symfony
Soutenance Zend Framework vs Symfony
 
Virtualisation et intégration des applications d'entreprise en environnement ...
Virtualisation et intégration des applications d'entreprise en environnement ...Virtualisation et intégration des applications d'entreprise en environnement ...
Virtualisation et intégration des applications d'entreprise en environnement ...
 
Starter Kits
Starter KitsStarter Kits
Starter Kits
 
Démo puppet et état du projet
Démo puppet et état du projetDémo puppet et état du projet
Démo puppet et état du projet
 
Rich Desktop Applications
Rich Desktop ApplicationsRich Desktop Applications
Rich Desktop Applications
 
Solution d'OTA
Solution d'OTASolution d'OTA
Solution d'OTA
 
WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
 WordCamp Lyon 2015 - WordPress, Git et l'intégration continue WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
WordCamp Lyon 2015 - WordPress, Git et l'intégration continue
 
Python application packaging @ MeilleursAgents
Python application packaging @ MeilleursAgentsPython application packaging @ MeilleursAgents
Python application packaging @ MeilleursAgents
 
Silverlight 4
Silverlight 4Silverlight 4
Silverlight 4
 
Build automatique et distribution OTA avec Xcode 4.x et Jenkins
Build automatique et distribution OTA avec Xcode 4.x et JenkinsBuild automatique et distribution OTA avec Xcode 4.x et Jenkins
Build automatique et distribution OTA avec Xcode 4.x et Jenkins
 
Retour d'expérience sur PowerShell
Retour d'expérience sur PowerShellRetour d'expérience sur PowerShell
Retour d'expérience sur PowerShell
 
[FR] C'est quoi une API ?
[FR] C'est quoi une API ?[FR] C'est quoi une API ?
[FR] C'est quoi une API ?
 

Plus de Patrick Guimonet

2020-06-25 Valofest - Introduction to SharePoint Spaces
2020-06-25 Valofest - Introduction to SharePoint Spaces2020-06-25 Valofest - Introduction to SharePoint Spaces
2020-06-25 Valofest - Introduction to SharePoint SpacesPatrick Guimonet
 
2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...
2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...
2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...Patrick Guimonet
 
2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratique
2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratique2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratique
2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratiquePatrick Guimonet
 
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...Patrick Guimonet
 
2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...
2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...
2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...Patrick Guimonet
 
2020-04-10 Modern workplace summit Integrate the Power Platform with ShareP...
2020-04-10 Modern workplace summit   Integrate the Power Platform with ShareP...2020-04-10 Modern workplace summit   Integrate the Power Platform with ShareP...
2020-04-10 Modern workplace summit Integrate the Power Platform with ShareP...Patrick Guimonet
 
2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et Teams
2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et Teams2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et Teams
2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et TeamsPatrick Guimonet
 
2020-03-05 Secure IT day 2020 Abalon - comment protéger votre environnement ...
2020-03-05 Secure IT day 2020  Abalon - comment protéger votre environnement ...2020-03-05 Secure IT day 2020  Abalon - comment protéger votre environnement ...
2020-03-05 Secure IT day 2020 Abalon - comment protéger votre environnement ...Patrick Guimonet
 
2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and Teams
2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and Teams2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and Teams
2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and TeamsPatrick Guimonet
 
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...Patrick Guimonet
 
2020-01-28 MS Ignite The Tour Milan - Mobility with Office 365
2020-01-28 MS Ignite The Tour Milan - Mobility with Office 3652020-01-28 MS Ignite The Tour Milan - Mobility with Office 365
2020-01-28 MS Ignite The Tour Milan - Mobility with Office 365Patrick Guimonet
 
2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...
2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...
2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...Patrick Guimonet
 
MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...
MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...
MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...Patrick Guimonet
 
2019-12-09 MWCP19 Préconférence Les nouveaux usages de Microsoft 365
2019-12-09 MWCP19 Préconférence  Les nouveaux usages de Microsoft 3652019-12-09 MWCP19 Préconférence  Les nouveaux usages de Microsoft 365
2019-12-09 MWCP19 Préconférence Les nouveaux usages de Microsoft 365Patrick Guimonet
 
2019 11-30 SPSMUC19 - Integrate Power Platform with SharePoint
2019 11-30 SPSMUC19 - Integrate Power Platform with SharePoint2019 11-30 SPSMUC19 - Integrate Power Platform with SharePoint
2019 11-30 SPSMUC19 - Integrate Power Platform with SharePointPatrick Guimonet
 
2019-11-16 SPS Leicester - Integrate Power Platform with SharePoint
2019-11-16 SPS Leicester - Integrate Power Platform with SharePoint2019-11-16 SPS Leicester - Integrate Power Platform with SharePoint
2019-11-16 SPS Leicester - Integrate Power Platform with SharePointPatrick Guimonet
 
19 11-13 MS Ignite The Tour Paris - Surfing Microsoft 365 waves
19 11-13 MS Ignite The Tour Paris -  Surfing Microsoft 365 waves19 11-13 MS Ignite The Tour Paris -  Surfing Microsoft 365 waves
19 11-13 MS Ignite The Tour Paris - Surfing Microsoft 365 wavesPatrick Guimonet
 
2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...
2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...
2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...Patrick Guimonet
 
2019 11-13 MS Ignite The Tour Paris - Mobility with Office 365
2019 11-13 MS Ignite The Tour Paris - Mobility with Office 3652019 11-13 MS Ignite The Tour Paris - Mobility with Office 365
2019 11-13 MS Ignite The Tour Paris - Mobility with Office 365Patrick Guimonet
 
2019-10-19 aOS KL Surfing the waves of Office 365
2019-10-19 aOS KL Surfing the waves of Office 3652019-10-19 aOS KL Surfing the waves of Office 365
2019-10-19 aOS KL Surfing the waves of Office 365Patrick Guimonet
 

Plus de Patrick Guimonet (20)

2020-06-25 Valofest - Introduction to SharePoint Spaces
2020-06-25 Valofest - Introduction to SharePoint Spaces2020-06-25 Valofest - Introduction to SharePoint Spaces
2020-06-25 Valofest - Introduction to SharePoint Spaces
 
2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...
2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...
2020-06-10 BitTitan Live France - De Outlook vers Teams réinventez votre faço...
 
2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratique
2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratique2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratique
2020-06-06 Power Saturday 2020 - Cyber sécurité Microsoft 365 par la pratique
 
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...
2020-05-28 Microsoft 365 Virtual Marathon - Mobility with Microsoft 365 from ...
 
2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...
2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...
2020-05-27 Microsoft 365 Virtual Marathon - De Outlook vers Teams réinventez ...
 
2020-04-10 Modern workplace summit Integrate the Power Platform with ShareP...
2020-04-10 Modern workplace summit   Integrate the Power Platform with ShareP...2020-04-10 Modern workplace summit   Integrate the Power Platform with ShareP...
2020-04-10 Modern workplace summit Integrate the Power Platform with ShareP...
 
2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et Teams
2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et Teams2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et Teams
2020 03-26 aOS online Intégrer la Power Platform avec SharePoint et Teams
 
2020-03-05 Secure IT day 2020 Abalon - comment protéger votre environnement ...
2020-03-05 Secure IT day 2020  Abalon - comment protéger votre environnement ...2020-03-05 Secure IT day 2020  Abalon - comment protéger votre environnement ...
2020-03-05 Secure IT day 2020 Abalon - comment protéger votre environnement ...
 
2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and Teams
2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and Teams2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and Teams
2020-02-29 Scottish Summit - Integrate Power Platform with SharePoint and Teams
 
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...
2020-02-25 MS Ignite The Tour - Integrate the Power Platform with SharePoint ...
 
2020-01-28 MS Ignite The Tour Milan - Mobility with Office 365
2020-01-28 MS Ignite The Tour Milan - Mobility with Office 3652020-01-28 MS Ignite The Tour Milan - Mobility with Office 365
2020-01-28 MS Ignite The Tour Milan - Mobility with Office 365
 
2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...
2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...
2020 01-27 MS Ignite The Tour Milan - Integrate Power Platform with SharePoin...
 
MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...
MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...
MWCP19 Retour d’Ignite : les nouveautés autour des Content Services et du Pro...
 
2019-12-09 MWCP19 Préconférence Les nouveaux usages de Microsoft 365
2019-12-09 MWCP19 Préconférence  Les nouveaux usages de Microsoft 3652019-12-09 MWCP19 Préconférence  Les nouveaux usages de Microsoft 365
2019-12-09 MWCP19 Préconférence Les nouveaux usages de Microsoft 365
 
2019 11-30 SPSMUC19 - Integrate Power Platform with SharePoint
2019 11-30 SPSMUC19 - Integrate Power Platform with SharePoint2019 11-30 SPSMUC19 - Integrate Power Platform with SharePoint
2019 11-30 SPSMUC19 - Integrate Power Platform with SharePoint
 
2019-11-16 SPS Leicester - Integrate Power Platform with SharePoint
2019-11-16 SPS Leicester - Integrate Power Platform with SharePoint2019-11-16 SPS Leicester - Integrate Power Platform with SharePoint
2019-11-16 SPS Leicester - Integrate Power Platform with SharePoint
 
19 11-13 MS Ignite The Tour Paris - Surfing Microsoft 365 waves
19 11-13 MS Ignite The Tour Paris -  Surfing Microsoft 365 waves19 11-13 MS Ignite The Tour Paris -  Surfing Microsoft 365 waves
19 11-13 MS Ignite The Tour Paris - Surfing Microsoft 365 waves
 
2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...
2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...
2019 11-13 MS Ignite The Tour Paris - Integrate Power Platform with SharePoin...
 
2019 11-13 MS Ignite The Tour Paris - Mobility with Office 365
2019 11-13 MS Ignite The Tour Paris - Mobility with Office 3652019 11-13 MS Ignite The Tour Paris - Mobility with Office 365
2019 11-13 MS Ignite The Tour Paris - Mobility with Office 365
 
2019-10-19 aOS KL Surfing the waves of Office 365
2019-10-19 aOS KL Surfing the waves of Office 3652019-10-19 aOS KL Surfing the waves of Office 365
2019-10-19 aOS KL Surfing the waves of Office 365
 

Power Shell V2 en action - avec Posh Board 2.0

  • 1. Windows PowerShell V2 en action Patrick Guimonet Architecte Microsoft France http://blogs.technet.com/powershell Antoine Habert MVP PowerShell Nelite http://www.devinfra.blogspot.com/
  • 2. AgendaWindows PowerShell V2 en action Introduction Nouvelles fonctionnalités Démo 1 : Interface graphique & PowerShell Démo 2 Démo 3 Démo 4 PoshBoard V2 Conclusion
  • 3.
  • 4. Mais spécifiquement Windows car reposant sur l'environnement .Net
  • 6.
  • 8. Thèmes PowerShell 2.0 Scripts de production Environnement automatisé Interface graphique & PowerShell Langage & Cmdlets
  • 9. Interface graphique & PowerShell Console graphique Nouvelles APIs Bibliothèques graphiques PSSession Pooling Out-Gridview Contrôle de Thread
  • 10. Démo 1 Interface graphique & PowerShell
  • 11. Les 4 commandes de découverte Get-Commandinformations de base sur les commandes Get-help aide de base (utiliser–full) Get-memberinformationssur les objets Get-PSDriveinformationssur les lecteursétendus Get-command Get-help Get-member Get-psdrive parmi 129 commandesintégréesou “cmdlets” commandettes? 411 en PS V2 !
  • 12. Scripts de production Fonctionsavancées Fonctionsavancées Debugger Code natif Restricted Language Modules Transactions
  • 13. Démo 2 Scripts de production :Fonctions avancéesModulesAide
  • 14. Environnement automatisé Execution à distance Jobs Evènements Sessions restraintes Mobile Object Model
  • 15. PSSession PSSession Functions Aliases Variables PowerShell v2 WinRM .Net Framework 2.0 PSSession
  • 16. Remote Architecture PSSession Get-Process XML SOAP HTTPS TCP Port 80
  • 17. Démo 3 Environnement automatisé :JobsExécution à distanceEvènements
  • 18. Retours de la communauté Améliorations du langage Adaptateursd'objetsaméliorés WMI++ Nouvelles Cmdlets
  • 19. Nouvelles Cmdlets …. Remoting: Invoke-Command New-PSSession Get-PSSession Push-PSSession Pop-PSSession Remove-PSSession Converting Types: Add-Type ConvertTo-Csv ConvertFrom-Csv ConvertTo-Xml ConvertFrom-StringData Event Viewer and ETW Logs: Get-Event  Script Internationalization: Import-LocalizedData Modules: Imort-Module Get-Module Remove-Module Export-ModuleMember Transactions: Complete-Transaction Start-Transaction Undo-Transaction Use-Transaction Debugging: Set-PSBreakpoint Get-PSBreakpoint Enable-PSBreakpoint Disable-PSBreakpoint Remove-PSBreakpoint Get-PSCallStack  Eventing: Register-ObjectEvent Register-Event Wait-Event Remove-Event Unregister-Event Get-Event New-Event Get-EventSubscriber Background Jobs: Start-Job Get-Job Stop-Job Receive-Job Wait-Job Remove-Job WMI: Register-WMIEvent Set-WMIInstance Invoke-WMIMethod Remove-WMIObject More Cmdlets: Clear-History Get-Random Out-GridView Set-StrictMode Update-List Wait-Process Computer Add-Computer Checkpoint-Computer Disable-ComputerRestore Enable-ComputerRestore Get-ComputerRestorePoint Remove-Computer Rename-Computer Reset-ComputerMachinePassword Restart-Computer Restore-Computer Stop-Computer Test-ComputerSecureChannel
  • 20. Démo 4 Un dernier exemple…
  • 21. Démo 5 PoshBoard V2par Antoine HabertMVP PowerShell
  • 22. MS Days 2009 PoshBoard 2.0-Présentation des nouveautés 7 Octobre 2009 Antoine Habert Architecte Infrastructure et développement MVP PowerShell
  • 23. Qu’est ce que PoshBoard Portail IT open source basé sur PowerShell (1.0 et 2.0), Silverlight et ASP.NET http://poshboard.codeplex.com http://www.poshboard.com Permet la génération d’élément graphique Silverlight à partir de code PowerShell (Graphiques, tableaux…) Utilisé pour : Génération de rapport statistiques (Hard / Soft, Virtualisation, annuaires, System Center…) Création d’interface de gestion (Provisioning, exploitation…) 21
  • 24. PoshBoard 2.0 Nouveautés du portail : Portail ré-écritfrom scratch Basé sur Silverlight 3 et CustomBinding WCF Authentification Windows integrée Gestion des accès aux différentes pages par role (administrateur / visiteur…) Prise en charge de la délégation / impersonification Permet une sortie dynamique des résultat de script en mode console Nouveautés SnapinPowerShell : Modèle objet unifié pour l’ensemble des contrôles Silverlights Nouveaux cmdlets (Out-PBDatagrid, New-PBCoverFlow, New-PBTab…) PoshBoard propose maintenant 23 cmdlets 22
  • 26. Et ensuite ? S’informer surPowershell http://blogs.technet.com/powershell http://blogs.msdn.com/powershell Blog d'AntoineHabert http://www.devinfra.blogspot.com Télécharger la version http://blogs.msdn.com/powershell (en haut à droite)
  • 27. Questions / Réponses

Notes de l'éditeur

  1. 129 commandes en PS V1411 en PS V2 !