17
AMBIENT INTELLIGENCE tech days 2015 # mstechdays techdays.microsoft.fr

Windows 10 et PowerShell v5

Embed Size (px)

Citation preview

AMBIENT INTELLIGENCE

tech days•

2015

#mstechdays techdays.microsoft.fr

#mstechdays techdays.microsoft.fr

Windows 10 et PowerShell 5.0

Fabien Dibot Pascal SauliereMVP PowerShell Architecte Infrastructure

@fdibot @psauliere

pwrshell.net aka.ms/pascals

aka.ms/itcast

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Où ? Quand ? Comment ?OutilsClassesConvertFrom-StringOneGet et PowerShellGetDebugDSCZIPCOM

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Win

do

ws

8.1

/2012R

2 U

pd

ate • “Rollup” de

novembre 2014

• Mise à jour stable

de Windows actuel

• Inclut des mises à

jour de PowerShell,

surtout pour DSC

• Support de

Microsoft standard,

téléchargement

disponible

• Cible probable des

migrations de

Windows Server

2003

Win

do

ws

10/

Serv

er

“Vn

ext

• Améliorations

majeures pour

DSC, admin et

développement

• Galerie PowerShell

et extensions Azure

pour DSC

• Réponses aux

principales

demandes des

clients

WM

F 5

.0 P

revie

ws • Dernières

fonctionnalités

PowerShell livrées

tous les 2 mois

• Recueillir du

feedback avant

version finale

• Fonctionne sur les

versions

précédentes : facile

à installer et à

tester

Po

werS

hell G

allery

& R

K • DSC RK : Livraison

mensuelle de

ressources fournies par

Microsoft

• TechNet ScriptCenter

• Galerie - PowerShell

dépôt supporté par

Microsoft

• Basé sur NuGet,

connecté à Visual

Studio

• Nouveau contenu en

permanance,

Microsoft et non-

Microsoft

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Console

PSEdit

Nouveautés de PowerShell ISE

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Pour le moment

Propriétés

Méthodes

Enums

Static

Constructeurs

Overloads

Attributs

DSC Resources

A venir

Inheritance

Visibilité

Lecture seule

Namespaces

Using

Atributs custom

Return Collections

Pas prévu

Generic

Expandos

Nested types

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Parsing basé sur l’exemple

Données pas facilement converties en CSV

Utilise FlashExtract de Microsoft Research

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

OneGet

PowerShellGet

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Pas grand-chose à dire…

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Mises à jour

Nouveau CMDlets

Améliorations

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

A la demande des utilisateursGestion des fichiers ZIP :

Compress-Archive-Path C:\sourcedir-DestinationPath C:\path\demo.zip

Expand-Archive-Path C:\path\demo.zip-DestinationPath C:\temp

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Exemple :

New-Item -ItemType SymbolicLinkFile-Path C:\Temp\MySymLinkFile-Value $PROFILE.AllUsersAllHosts

New-Item -ItemType SymbolicLinkDir-Path C:\Temp\MySymLinkDir-Value $PSHOME

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

Amélioration significative des performances lors de l’utilisation d’objets COM

tech.days 2015#mstechdaysWindows 10 et PowerShell 5.0

ETW tracing

Crypto : Cryptographic Message Syntax (RFC 5652)

Support de plusieurs versions du même module

Get-ItemPropertyValue

NetworkSwitch

tech.days 2015#mstechdays

Speakers : ajoutez ici vos comptes Twitter, blogs, cours MVA…

Windows 10 et PowerShell 5.0

tech.days 2015#mstechdays