Réduisez vos coûts d'administration et les risques d'erreurs avecWindows Powershell V210 février 2010Antoine Habert – MVP PowerShell – Nelitehttp://www.devinfra.blogspot.com Patrick Guimonet – Architecte – Cap Geminihttp://blogs.codes-sources.com/patricg
AgendaInterface graphiqueScripts de productionEnvironnement automatiséLangage et cmdletsDéveloppement PoshboardQ & R
PowerShell : le langage decommandes et de scripts pour  WindowsInspiré des langages de scripts UNIX : ksh, bash, perl, …Mais spécifiquement Windows car reposant sur l'environnement .NetSyntaxe proche du C#Tous les produits serveurs de Microsoft doivent supporter PowerShell
Productivité !Productivité
Les 4 commandes de découverteGet-commandGet-helpGet-memberGet-psdriveGet-Commandinformations de base sur les commandesGet-help		aide de base  (utiliser–full)Get-memberinformationssur les objetsGet-PSDriveinformationssur les lecteursétendusparmi 129 commandesintégréesou “cmdlets” 	commandettes?411 en PS V2 !
Architecture de PowerShell
Thèmes PowerShell V2Scripts de productionEnvironnement automatiséInterface graphiqueLangage & Cmdlets
Démo 1Interfaces graphiquesScripts de production
Interface graphiqueConsole graphiqueNouvelles APIsBibliothèquesgraphiquesPSSession PoolingOut-GridviewContrôle de Thread
Scripts de productionFonctionsavancéesFonctionsavancéesDebuggerCode natifRestricted LanguageModulesTransactions
Démo 2Environnement automatiséBackground Jobs
Exécution à distance
EventingAméliorations du langage
Environnement automatiséExécution à distanceJobsEvènementsSessions restraintesMobile Object Model
Retours de la communautéAméliorations du langageAdaptateursd'objetsaméliorésWMI++Nouvelles Cmdlets
Nouvelles Cmdlets ….Remoting:Invoke-CommandNew-PSSessionGet-PSSessionPush-PSSessionPop-PSSessionRemove-PSSessionConverting Types:Add-TypeConvertTo-CsvConvertFrom-CsvConvertTo-XmlConvertFrom-StringDataEvent Viewer and ETW Logs:Get-Event Script Internationalization:Import-LocalizedDataModules:Imort-ModuleGet-ModuleRemove-ModuleExport-ModuleMemberTransactions:Complete-TransactionStart-TransactionUndo-TransactionUse-TransactionDebugging:Set-PSBreakpointGet-PSBreakpointEnable-PSBreakpointDisable-PSBreakpointRemove-PSBreakpointGet-PSCallStack Eventing:Register-ObjectEventRegister-EventWait-Event Remove-EventUnregister-Event Get-EventNew-EventGet-EventSubscriberBackground Jobs:Start-JobGet-JobStop-JobReceive-JobWait-Job Remove-JobWMI:Register-WMIEventSet-WMIInstanceInvoke-WMIMethodRemove-WMIObjectMore Cmdlets:Clear-HistoryGet-RandomOut-GridViewSet-StrictModeUpdate-ListWait-ProcessComputerAdd-ComputerCheckpoint-ComputerDisable-ComputerRestoreEnable-ComputerRestoreGet-ComputerRestorePointRemove-ComputerRename-ComputerReset-ComputerMachinePasswordRestart-ComputerRestore-ComputerStop-ComputerTest-ComputerSecureChannel
PowerShell et développementManageable par les langages .NET :C#/VB.NET/ironPython/ironRuby…Pourquoi développer autour de PowerShell ?L’enrichir (création de cmdlets, Providers…)

Réduisez vos Coûts d'Administration et les Risques d'erreurs avec Windows Powershell V2