Comece agora a testar a nova versão do Powershell

powershell

Uma ferramenta que gosto muito, com uma artilharia de fogo inigualável, que vem sendo adotada cada vez mais pelos IT Pros é o Powershell. Com ele temos mais flexibilidade e opções que fazem ótimas automatizações no nosso dia a dia fornencendo várias linhas de comandos que são fáceis de entender e de usar. Para quem trabalha com o SCVMM, Exchange 2007 e 2010, Sharepoint e algumas outras ferramentas já devem conhecê-lo muito bem.

A boa notícia é que foi disponibilizado a nova versão do Windows Management Framework 3.0 contendo o Powershell versão 3.0, além das novas versões do WMI e WinRM presente no Windows 8, mas que pode ser instalada no Windows 7 e Windows Server 2008 R2 com SP1.

Basicamente tudo que dá pra fazer usando a interface gráfica no Windows 8 também pode ser feito através do Powershell, inclusive comandos para o Hyper-V.

Para o Hyper-V algumas funcionalidades estarão disponíveis somente no Powershell.

Veja abaixo alguma das novidades (em inglês):

Windows PowerShell 3.0
Some of the new features in Windows PowerShell 3.0 include:

  • Workflows
    Workflows that run long-running activities (in sequence or in parallel) to perform complex, larger management tasks, such as multi-machine application provisioning. Using the Windows Workflow Foundation at the command line, Windows PowerShell workflows are repeatable, parallelizable, interruptible, and recoverable.
  • Robust Sessions
    Robust sessions that automatically recover from network failures and interruptions and allow you to disconnect from the session, shut down the computer, and reconnect from a different computer without interrupting the task.
  • Scheduled Jobs
    Scheduled jobs that run regularly or in response to an event.
  • Delegated Administration
    Commands that can be executed with a delegated set of credentials so users with limited permissions can run critical jobs
  • Simplified Language Syntax
    Simplified language syntax that make commands and scripts look a lot less like code and a lot more like natural language.
  • Cmdlet Discovery
    Improved cmdlet discovery and automatic module loading that make it easier to find and run any of the cmdlets installed on your computer.
  • Show-Command
    Show-Command, a cmdlet and ISE Add-On that helps users find the right cmdlet, view its parameters in a dialog box, and run it.

WMI
WMI in Windows Management Framework 3.0 CTP1 introduces:
  • A new provider development model
    This new model brings down the cost of provider development and removes the dependency on COM.
  • A new MI Client API to perform standard CIM operations.
    The API can be used to interact with any standard WsMan + CIMOM implementation, allowing management applications on Windows to manage non-Windows computers.
  • The ability to write Windows PowerShell cmdlets in native code
    The new WMI Provider APIs supports an extended Windows PowerShell semantics API allowing you to provide rich Windows PowerShell semantics. e.g., Verbose, Error, Warning, WhatIf, Confirm, Progress

WinRM
With Windows Management Framework 3.0 CTP1:
  • Connections are more robust
    Session disconnect and reconnect, with or without client session reconstruction, allows long-running tasks to continue even when the session in which they were started is closed and the client computer is shut down. This feature also allows administrators to reconnect from different computers to check the status of remote running tasks and get results.
  • Connections are more resilient
    In Windows PowerShell 3.0 CTP1, connections can survive short-term network failures; the client-server connection is not severed at the first sign of trouble. If network problems persist, the client is safely disconnected and can reconnect by using the Connect-PSSession or Receive-PSSession cmdlets.


Windows PowerShell Web Service
Windows PowerShell Web Service enables an administrator to expose a set of PowerShell cmdlets as a RESTful web endpoint accessible via the (Open Data Protocol (OData). This provides remote access to invoke cmdlets from both Windows and non-Windows clients.

 

Para download clique aqui.

Bom proveito!

LeandroCarvalho
MCSA+S+M| MCSE+S | MCTS | MCITP | MCBMSS | MCT | MVP Virtual Machine
BetterTogether | MSVirtualization | Winsec.org| LinhadeCodigo | MVP Profile
Twitter: LeandroEduardo | LinkedIn: Leandroesc



tweetmeme_source = ‘LeandroEduardo';

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>