Browse by Tags

Tagged Content List
  • Blog Post: Creating a Secure Environment using PowerShell Desired State Configuration

    Introduction: Traditionally, IT environments have secured their business critical information against external threats by adding additional layers of security to the org’s network (e.g. firewalls, DMZs, etc.). However many of today’s attacks are coming from inside the network so a new...
  • Blog Post: How objects are sent to and from remote sessions

    Instead of piping unstructured text, Windows PowerShell pipes objects between commands in a pipeline.  As a consequence PowerShell remoting also deals with objects when passing data to and from remote sessions.  This post explains how remote objects are serialized and which types of objects...
  • Blog Post: Saving remote session to your local disk

    Read the previous post on implict remoting to learn how the Import-PSSession cmdlet makes it easier to work with remote commands by presenting them as if they were local commands. This user experience saves you the trouble of typing long Invoke-Command incantations to pass arguments to remote commands...
  • Blog Post: Bringing remote commands to your local session

    How can you manage multiple technologies installed on separate machines that expose their management surface through cmdlets?  One approach would be to open remote desktop connection to each of those machines, another approach would be to send commands using Invoke-Command and PowerShell Remoting...
  • Blog Post: How to pass arguments for remote commands

    When invoking remote commands, one often wants to use local values as arguments to the remote command. This post explains how to do that. Hardcoded values Let's start with a simple example. Below you can see how Get-Process is invoked in a remote session when the Id parameter is set to 0: PS> $s ...
  • Blog Post: Advanced Debugging in PowerShell

    Here is a collection of tips and tricks to debug PowerShell Read Up There is a 7-part series of “ Debugging Monad Scripts ” that Jon Newman wrote a few years ago that covers a lot of tips, including error handling, traps, tracing, and covers a lot of V1 stuff. Clean code The best route, is to make...
  • Blog Post: Managing Remote Sessions

    PowerShell V2 introduces a new capability which allows you to remotely manage machines in your organization. You may have already tried this new feature. In this blog, I will show how an administrator can manage different remote sessions (created by different users from different clients) Scenario...
  • Blog Post: Interactive remoting in CTP3

    Today let's talk about one of the cool new features of Windows PowerShell V2 - Interactive Remoting. Let’s start with an example: PS> $env:COMPUTERNAME # Check local computer name. VLADIMIA64 PS> Enter-PSSession Vladimia06 # Remote to other computer. [vladimia06]: PS C:\Users\Vladimia\Documents>...
  • Blog Post: Manage winrm settings with wsman provider

    PowerShell remoting is built on top of Windows Remote Management (WinRM), which is Microsoft’s implementation of WS-Management protocol. You can use winrm.cmd command line tool to query and manage winrm settings. PowerShell V2 CTP3 contains a wsman provider for you to manage winrm settings with the standard...
  • Blog Post: Configuring PowerShell for Remoting – Part 1

    The features discussed in this blog post depend on PowerShell CTP3 release. Details about PowerShell CTP3 can be found at http://blogs.msdn.com/powershell/archive/2008/12/23/early-christmas-present-from-powershell-team-community-technology-preview-3-ctp3-of-windows-powershell-v2.aspx PowerShell v2...
  • Blog Post: CredSSP for second-hop remoting

    PS C:\> $r = New-PSSession PS C:\> icm $r {Get-PfxCertificate c:\monad\TestpfxFile.pfx} Enter password: Invoke-Command : The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation. At line:1 char:4...
  • Blog Post: Remoting with PowerShell QuickStart

    PowerShell V2 introduces a new capability which allows you to remotely manage machines in your organization. I will give a basic overview of PowerShell remoting here and follow it up with some adavanced topics later. Are you ready for the fun.. A remote interaction involves 2 endpoints – Client and...
  • Blog Post: PowerShell Remoting using SSH!

    Can't wait for us to ship PowerShell Remoting? Want remoting to use SSH? Why wait for us?  /N software has just announced a beta of their NetCmdlets V2.0 which provides PowerShell remoting over SSH today!  They've had this for  a while and V2 updates (and improves) the usability of the...
  • Blog Post: Remoting Using PowerShell V1

    As you probably know by now, "remoting" is one of the cornerstone features of the next version of PowerShell.  I am absolutely thrilled with the stuff we are doing here and the benefits that come from that approach.  That said, there are lots of things that need to be buttoned up...
Page 1 of 1 (14 items)