Remoting

Test-WSManCredSSP: Check if a remote computer has WSMan CredSSP enabled

January 3, 2011

Update: This script won’t work against Windows 2003 or Windows XP systems. There is no CredSSP support on this and hence the WSMan:\<ComputerName>\Client\Auth\CredSSP or WSMan:\<computerName>\Service\Auth\CredSSP won’t resolve. You can use -ErrorAction SilentlyContinue along with Get-Item cmdlet when reading these values, if you don’t want to see an error. Thanks to @dfinke for reporting this. I’ve [...]

Continue Reading →

Remote install of SharePoint 2010 prerequisites

December 30, 2010

I’ve published a free book on PowerShell 2.0 remoting. You can download it at: Did you ever try installing SharePoint 2010 prerequisites remotely? If so, you would know by now that it is not easy. Essentially because of the Windows update packages in the prerequisites. It is a known issue that Wusa.exe cannot be invoked [...]

Continue Reading →

PowerShell to list / add / remove Windows roles & features remotely

December 27, 2010

Lot of my R & D work at home happens on a couple of physical systems and lot of virtual machines hosted on Hyper-V. One thing that I regularly do is to rebuild lot of these machines and in that process, I add/remove Windows OS features many times. One default setting I have on all [...]

Continue Reading →

eBook Update: Layman’s guide to PowerShell 2.0 remoting

December 17, 2010

After lot of procrastination, I finally completed updates to my PowerShell remoting eBook. First of all, many thanks to Jan Egil Ring (@JanEgilRing) for contributing Appendix B: Remoting in an enterprise. This is a great addition to the content of this eBook. These are the changes that went in to this update. Chapter 2 Enable remoting for [...]

Continue Reading →

Executing script existing only on a remote system using Invoke-Command

May 14, 2010

This is more of a personal note and may sound trivial to many of you out there. But just wanted to make sure I share it here. A while back, in my remoting series, I wrote about executing commands / scripts on a remote machine using Invoke-Command cmdlet. Talking specifically about scripts, you can use -FilePath parameter [...]

Continue Reading →

eBook: Layman’s guide to PowerShell 2.0 remoting

March 18, 2010
Thumbnail image for eBook: Layman’s guide to PowerShell 2.0 remoting

If are you a regular visitor to this blog, you may be aware of my PowerShell remoting series of blog articles. Traffic to this blog increased by almost 80% ever since I started the remoting series. This set of articles appear on the first page of Internet search almost all the time. The idea behind [...]

Continue Reading →

Enabling PowerShell remoting for only a specified set of IP addresses

March 10, 2010
Thumbnail image for Enabling PowerShell remoting for only a specified set of IP addresses

I’ve published a free book on PowerShell 2.0 remoting. You can download it at: I wasn’t so sure about the post title. But read on to understand what I really meant. When you enable remoting on a computer using Enable-PSRemoting cmdlet, an http listener will be created to listen for remoting requests on all IP [...]

Continue Reading →

Remote file explorer using PowerShell remoting and Windows forms

February 23, 2010
Thumbnail image for Remote file explorer using PowerShell remoting and Windows forms

Last week, I released the remote file explorer powerpack for PowerGUI. The concept of this powerpack is quite simple. We use PowerShell remoting to access the PS drives of a remote machine and then use the same remoting channel to transfer files between computers. I’ve published a free book on PowerShell 2.0 remoting. You can [...]

Continue Reading →