Welcome to TechNet Blogs Sign in | Join | Help

PowerShell 2.0 est disponible sur toute la gamme des systèmes d’exploitation Microsoft !

Windows Management Framework, which includes Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0, was officially released to the world yesterday morning.  By providing a consistent management interface across the various flavors of Windows, we are making our platform that much more attractive to deploy.  IT Professionals can now easily manage their Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 machines through PowerShell remoting – that’s a huge win!

You can download the packages here: http://go.microsoft.com/fwlink/?LinkID=151321

SPC09 : Session “Administering SharePoint 2010 with PowerShell”

image

par Zach rosenfield; les scripts seront publiés très rapidement sur son blog : http://sharepoint.microsoft.com/blogs/zach _us

Tout d’abord quelques slides d’introduction pour ceux qui ne connaissent pas PowerShell…

Avec son originale explication visuelle du pipeline ! Une bonne idée !

image image image

 

image C’est énorme : 652 cmdlets pour administrer SharePoint 2010 ! Il y a de quoi faire !


Les administrateurs de SharePoint Online ont pu scripter entièrement les process de création de nouveaux sites.
image   Pourquoi c’est BEAUCOUP plus efficace que STSADM !

image Exemple sur 5300 sites, on passe de 12+ heures à 30 minutes !!!

Temps d’exécution divisé par 24 !!! From iPaq 16-03-2009 007
image 2 types de commandes : locale ou globale
Viennent ensuite les démos dont je n’ai pris que les moments les plus frappant  
image Add-PSSnapin
image Notion de SPSitePipeBind : ID unique sur le site
image Récupération des évènements dans le fichiers de log
image 
Comment traiter le correlation ID qui s’affiche sur un message d’erreur ?
En utilisant GET-SPLogEvent :
image
image Propriétés calculées
image Idem mais dans un out-gridview
image
image
Le filtrage côté serveur, beaucoup plus efficace et rapide donc !
First GET-SPContentDatabaseimage   
image  Comment rajouter ses propres paramètres à une commande !
image Ensuite démonstration des possibilités de remoting de PS V2
ici Get-Credential

Bref, une super session que j’ai adorée !!! On va vraiment pouvoir s’amuser avec PS et SP 2010 !!!

PoshBoard 2.0 est en ligne !

Une bonne nouvelle côté PoshBoard, une version 2.0 est maintenant disponible !

C’est accessible ici : http://poshboard.codeplex.com/ _us

poshboard2screen2[1]

C'est une mise à jour majeure, avec son lot de nouvelles fonctionnalités:

  • Nouveau portail reconstruit “from scratch”
  • Mise à niveau vers Silverlight 3
  • Maintenant 100% basé sur l'authentification windows : accès admin/visiteur pour chaque portail, impersonification possible par utilisateurs/groupes, ceci indépendamment pour chaque page du portail !
  • Configuration du portail via un fichier de config XML
  • Interface graphique de gestion des accès et portails pour les superadministrateurs directement au sein de Poshboard
  • Modèle unifié pour les cmdlets PowerShell
  • Nouveaux controles silverlight : Tabs, CoverFlow...
  • Installation facile : le portail peut être déployé, cloné, mis en application web...
  • Petit : 1,5 Mo !
  • SQL optionnel pour la gestion du portail (mais sera utilisé pour la rétention des données à venir)

Une petite vidéo disponible ici : http://www.vimeo.com/6810993 _us

Merci à Antoine pour cette nouvelle version, à tester d’urgence !

poshboard2screen1[1]

Vidéo : Créez vos objets en PowerShell

James Brundage, Software Development Engineer dans la PowerShell test Team présente comment créer votre propres objets en PowerShell v2 dans une vidéos postée recemment sur Channel9 :

image

très interressant.

Posted by dsebban | 0 Comments

PowerShell Windows Mobile Provider

http://www.codeplex.com/psmobile

Project Description
Explore and manipulate your mobile device with Windows PowerShell. Supports PocketPC and SmartPhone devices; WM2002, 2003, 2003SE, 5, 6 and 6.1

image

Posted by patricg | 0 Comments

Comparing Python and PowerShell DBA Scripting…

 

This is a very good article comparing both Powershell and Python for DBA standard tasks.

The examples taken are :

Nothing earth shattering here, but I hope that you will find them useful. They are

  1. Listing installed hot fixes, i.e. DST patch
  2. Checking free space on drives.
  3. Finding a database across multiple servers
  4. Checking the version of SQL Server installed

PowerShell appears from far as the most concise of both.

Here is the conclusion :

I'm pretty excited about what PowerShell offers. I'm beginning to think it's easier to get things done with it and it looks like you can get more done with fewer lines of code using PowerShell. I found Python a bit easier to read initially but I'm getting used to the PowerShell syntax with the help of Bruce Payette's PowerShell book and several PowerShell blogs and forum posts. Plenty of support has built up around PowerShell that helped me to write this article both from Microsoft and PowerShell users. One thing I won't forget is Gert Drapers saying during his conference presentation that prior to PowerShell he used Perl for his admin scripts. It obvious from Bruce Payette's book that Microsoft did take a significant amount of inspiration from languages like Python and Perl to build PowerShell. No matter which scripting language you choose, I think to be really effective in a large environment you must learn to script. I'm hooked on PowerShell because of what it can do to make my life simpler in our Microsoft environment but also the exposure to .Net and WMI that it provides for a DBA.

And the full article is here : http://www.simple-talk.com/sql/database-administration/comparing-python-and-powershell-dba-scripting-/ _us

image

Windows PowerShell 2.0 est RTM !

Comme cela a été annoncé ici Windows 7 Has Been Released to Manufacturing_uset là  Windows Server 2008 R2 Reaches the RTM Milestone! _us  ,

Windows 7 et Windows Server 2008 R2 sont prêts !

Le build final sera donc le 7600.

Pas encore disponibles en externe Microsoft mais prêts pour les partenaires notamment pour l’incorporer avec leurs propres produits.

Vous pouvez visualiser la vidéo de l’annonce avec Steven Sinofsky et Steve Balmer _us sur le blog Windows 7 France.

image

Comme cela est indiqué ici : Windows PowerShell 2.0 RTM ces deux produits intègrent

Windows PowerShell V2 en mode final !

Avec entre autres les nouvelles fonctionnalités suivantes :

  • exécution à distance
  • interface graphique
  • fonctions avancées
  • support WMI étendu
  • nouvelles cmdlets

et pleins d’autres nouveautés !

image

 

 

 

 

 

 

 

 

 

 

 

 

Les versions pour :

  • Windows XP SP3
  • Windows 2003 SP2
  • Windows Vista SP1
  • Windows Server 2008

devraient suivre rapidement.

Comment se former gratuitement pendant l’été ?

Vous pouvez aller sur le site www.msdev.com _us où vous pourrez trouver de nombreuses sessions de formations sur tous les technologies Microsoft

image

On pourra trouver 7 formations sur Powershell ici : http://www.msdev.com/Directory/SearchResults.aspx?keyword=Powershell _us

De quoi bien se former pendant les vacances !

Poshboard V1 beta

Antoine Habert me prévient de la dispo de PoshBoard V1 !

La toute première release de Poshboard V1 Beta est disponible sur codeplex !

l'article complet de présentation avec des courtes vidéos de démo est disponible ici

Cette release introduit notamment le GUI Widget Designer, qui est le premier exemple de code permettant la création d'interfaces Silverlight en PowerShell, et ceci en temps réel !

L'article est aussi dispo en français ici.

En prévision de cette sortie, Antoine nous propose une série de vidéo de présentation technique dont voici le premier volet :

Poshboard V1 Tech Preview 1 French from Antoine Habert on Vimeo.

Tout est ici : http://devinfra.blogspot.com/

More Posts Next page »
 
Page view tracker