Powershell Remoting fails with 502 error from server

502 usually results from an intermediate gateway/proxy unable to understand server’s response. If however, you don’t expect a gateway or proxy to sit between your client and server, this error may result from a misconfigured proxy settings on your client box. To view, proxy settings, run the following on your client box:     netsh winhttp…


Powershell Remoting through Load Balancers : The "select or value was not found" problem

Powershell remoting is supported over load balancers with configuration described at http://msdn.microsoft.com/en-us/library/ee309370(VS.85).aspx#load_balancing_in__the__iis_extension_hosting_model   Users when trying to use this feature may hit a problem that breaks an active runspace with an error that looks like the following:  “the select or value F8037657-C31F-4B2F-9BCA-CAD89BC7C9F1 specified in the request was not found. ”   The above error ideally…


WinRM hosted in IIS fails to start with error 1300 in event log

WinRM is hosted within IIS by enabling the WinRM native module at a particular IIS site, app or a vdir. IIS sites and apps can be configured to run in a specific application pool. Each application pool runs under a specific user context. WinRM will fail to start when the user associated with the application pool does not have the required privileges….

5

Windows Management Framework Install Failure and Investigation

Since Windows Management Framework was released Oct. 2009, our customers have been excited about using PowerShell 2.0 on down-level OSes. Meanwhile, we also received feedback from both internal and external customers about our product issues. One of them is WMF install failure followed by the mysterious “The update does not apply to your system” error…


Quick and Dirty Large Scale Event forwarding for Windows

We recently got a question on this blog about event forwarding. This post by Otto Helweg gives a great introduction to event forwarding mechanism in windows – http://blogs.technet.com/otto/archive/2008/07/08/quick-and-dirty-enterprise-eventing-for-windows.aspx  Kapil Mathur [MSFT]     


Perform asynchronous asset management using Windows Powershell cmdlets for WMI

With Windows 7 wmi cmdlets now have support to perform tasks asynchronously. Asynchronous execution typically involves – ·       Run commands in background ·       Wait/stop on them ·       Retrieve results ·       Check status of execution   Thus to collect hard inventory data like total Physical Memory from a list of machines in your domain, while not…

2

WMI in the cloud

Recently I came accross an interesting post which talks about how to use WMI with Windows Azure. http://blog.wadewegner.com/index.php/2009/11/04/leveraging-wmi-in-an-azure-web-role/ 

7

WMI in the cloud

Recently I came accross an interesting post which talks about how to use WMI with Windows Azure. http://blog.wadewegner.com/index.php/2009/11/04/leveraging-wmi-in-an-azure-web-role/   


wmic vs WMI Powershell cmdlets

Compare WMIC.EXE with Windows Powershell Cmdlets for WMI   The WMI command-line (WMIC) utility provides a command-line interface for WMI. With Windows 7 you can do everything that you can do with wmic using Windows Powershell and much more by leveraging powerful features of Windows Powershell.   Below are some scenarios in wmic and their…

5