PowerShell – Passing Parameters as Variables using Remote Management and Invoke-Command

Recently I had a need to write a PowerShell script that could accept a set of parameters at script launch, and pass those parameters to an inline scriptblock to allow the input parameters to act as variables in a set of commands against a remote server.  Looking at the documentation for the Invoke-Command cmdlet I…

7

SharePoint – SharePoint 2010 and Remote PowerShell for use with System Center Orchestrator 2012

Today we will be taking a look at how to enable a PowerShell script to execute SharePoint cmdlets on a remote server running SharePoint 2010 for use with System Center Orchestrator 2012.  You may be thinking, “That’s sounds simple, I can use PowerShell to remotely execute SharePoint cmdlets using New-PSSession and Invoke-Command.”  And while you…

1

Azure – Add an Azure virtual machine to an Active Directory domain that exists on-prem

The following information was inspired by another post by one of my colleagues, Diego Viso.  A few months ago, Diego put up a great post called Creating a site to site (S2S) VPN to Azure with RRAS, one physical NIC and a NAT gateway In that post, Diego provided a great example of using the Routing and Remote Access Service (RRAS)…

0