Wednesday, December 15, 2010

Configuration of Windows Remote Management for PowerShell

1.   winrm quickconfig PS C:\Windows\system32> Winrm quickconfig WinRM already is set up to receive requests on this machine. WinRM is not set up to allow remote access to this machine for management. The following changes must be made: Create a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this machine. Enable the WinRM firewall exception. Make these changes [y/n]? y WinRM has been updated for remote management. Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this machine. WinRM...

Enable IIS7 PowerShell snapin in PowerShell session

Installation: http://learn.iis.net/page.aspx/429/installing-the-iis-70-powershell-snap-in Set-ExecutionPolicy -ExecutionPolicy RemoteSigned Import-Module webadministration | Out-Null Get-Website http://www.iisworkstation.com/2009/06/troubleshooting-iis-powershell-module.html P.S. PowerShell is installed by default on Windows Server 2008...

Tuesday, December 14, 2010

Set-ExecutionPolicy in PowerShell

To alllow all user to execute scripts in PowerShell: Set-ExecutionPolicy -ExecutionPolicy Unrestric...

Wednesday, December 8, 2010

"Load needed DLLs for kernel": Windows recovery console example

Lately I read a lot of people are having this error which stops your system from booting. This is a very awful error which is solved by Microsoft with the solution to do a in-place install from Windows XP. This is a lot of work and I have a much safer and fast solution. Boot your system from the Windows XP Cdrom and choose to repair your system which will put you in the "Recovery Console" mode. Now make the following steps: CHKDSK (which will fix the error(s) on your disk) BOOTCFG /rebuild (you will rebuild your boot configuration now,  just...

Powered by Blogger.