Using WinRM on Linux

Summary: Microsoft MVP, David O’Brien, talks about using the pywinrm module to execute Windows PowerShell from Linux. Microsoft Scripting Guy, Ed Wilson, is here. Today Windows PowerShell MVP, David O’Brien, talks about executing Windows PowerShell on Linux. Hi. I’m David O’Brien, Microsoft MVP for Windows PowerShell, and I was asked by Ed if I wanted…


Troubleshooting WinRM with PowerShell—Part 2

Summary: Ed Wilson, Microsoft Scripting Guy, talks about troubleshooting WinRM.  Hey, Scripting Guy! So I thought that Windows PowerShell remoting was supposed to just work. Well, it doesn't. I am confused, and don’t even know where to begin. I am pretty sure that it should be enabled, but it is not working. Can you help?…


Combine PowerShell Remoting and CIM

Summary: Microsoft Scripting Guy, Ed Wilson, talks about combining Windows PowerShell remoting and CIM. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about Windows PowerShell is remoting. It is not a new feature. In fact, it was introduced in Windows PowerShell 2.0—a time that seems like eons ago. Really. That was back…


Weekend Scripter: Use PowerShell to Remotely Create Scheduled Task and Folder

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to remotely create a scheduled task and folder. Microsoft Scripting Guy, Ed Wilson, is here. On Friday in Use PowerShell to Create Scheduled Task in New Folder, I created a pretty long Windows PowerShell script that creates a folder for scheduled tasks, and creates,…


Should I Upgrade to Latest Windows PowerShell Version?

Summary: Richard Siddaway discusses the issues around upgrading your version of Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today’s post is provided by Richard Siddaway… Richard is based out of the UK and spends his time automating anything, and everything, for Kelway, Ltd. A 7-year Windows PowerShell MVP, Richard is a prolific blogger,…


Build Constrained PowerShell Endpoint Using Startup Script

Summary: Learn how to build a constrained endpoint by using a startup script. Hey, Scripting Guy!, how do I lock-down my remote endpoint to only certain commands? —GH Honorary Scripting Guy, Boe Prox, here today filling in for my good friend, The Scripting Guy. This is the second part in a series of five posts…


Introduction to PowerShell Endpoints

Summary: Learn about Windows PowerShell endpoints and how they relate to remoting.  Hey, Scripting Guy! I keep hearing about Windows PowerShell endpoints and constrained endpoints related to remote management. Can you tell me more about these? —KP  Hello, KP. Honorary Scripting Guy, Boe Prox, here today filling in for my good friend, The Scripting Guy. Here's…


Use PowerShell to Manage Exchange Online in Office 365

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell implicit remoting to manage Exchange Online users. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am looking over my presentations for the PowerShell Summit in Bellevue, Washington. It will be April 28 – 30, 2014, and I am making three presentations. So I…

6

PowerTip: Use PowerShell to Clear the Trusted Hosts File

Summary: Use Windows PowerShell to clear the trusted hosts file.  How can I use Windows PowerShell to clear all values from my trusted hosts file? The trusted hosts file is part of the WSMAN configuration, and the easiest way to clear it is to use Clear-Item: £> Get-Item -Path WSMan:localhostClientTrustedHosts | fl Name, Value Name  :…


Remoting Week: Non-Domain Remoting

Summary: Richard Siddaway explains how to use Windows PowerShell remoting to access machines that aren’t in your domain.  Hey, Scripting Guy! I’ve just starting learning Windows PowerShell, and I understand how to use it as a scripting language and shell on the local machine. How do I work with remote machines? —AP  Hello AP, Honorary…