Wednesday, December 15, 2010

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 R2

Tuesday, December 14, 2010

Set-ExecutionPolicy in PowerShell

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

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 give enters when it asked extra info).
FIXBOOT (to fix your current bootsector)
FIXMBR (to fix your current master boot record).
EXIT (leaves the recovery console and reboots your system).

All should be fine now, however sometimes it is possible that you have to choose which operating system needs to be booted every time you switch on your system.

This can be easily solved when you are in Windows XP:
Go to START > right mouse button on MY COMPUTER > click PROPERTIES > click ADVANCED tab > in startup recovery click SETTINGS > choose your default operating system which is Windows XP > uncheck TIME TO DISPLAY LIST OF OPERATING SYSTEMS > click OK > click OK again.
This is all, your system will boot normally again.


Features about some commands:


bootcfg /rebuild


This utility will scan all your hard drive for any windows xp installations
and then displays the result.


The first prompt asks Add installation to boot list (Yes/No/All)
This is the name of the operating system, for example, type Windows XP Home and press enter.


The final prompt will be Enter OS load options:
Type /Fastdetect and press enter.


Additional command could be helpful:


bootcfg /scan
bootcfg /add

Saturday, September 4, 2010

Twitter auth changes

There are over 250,000 applications built using the Twitter API. To use most applications, you first authorize the application to access your Twitter account, after which you can use it to read and post Tweets, discover new users and more. Applications come in many varieties, including desktop applications like TweetDeck, Seesmic, or EchoFon, websites such as TweetMeme, fflick, or Topsy, or mobile applications such as Twitter for iPhone, Twitter for Blackberry, or Foursquare.
Update 1: New authorization rules for applications
Starting August 31, all applications will be required to use “OAuth” to access your Twitter account.
What's OAuth?
  • OAuth is a technology that enables applications to access Twitter on your behalf with your approval without asking you directly for your password.
  • Desktop and mobile applications may still ask for your password once, but after that request, they are required to use OAuth in order to access your timeline or allow you to tweet.
What does this mean for me?
  • Applications are no longer allowed to store your password.
  • If you change your password, the applications will continue to work.
  • Some applications you have been using may require you to reauthorize them or may stop functioning at the time of this change.
  • All applications you have authorized will be listed at http://twitter.com/settings/connections.
  • You can revoke access to any application at any time from the list.

Update 2: t.co URL wrapping
In the coming weeks, we will be expanding the roll-out of our link wrapping service t.co, which wraps links in Tweets with a new, simplified link. Wrapped links are displayed in a way that is easier to read, with the actual domain and part of the URL showing, so that you know what you are clicking on. When you click on a wrapped link, your request will pass through the Twitter service to check if the destination site is known to contain malware, and we then will forward you on to the destination URL. All of that should happen in an instant.
You will start seeing these links on certain accounts that have opted-in to the service; we expect to roll this out to all users by the end of the year. When this happens, all links shared on Twitter.com or third-party apps will be wrapped with a t.co URL.
What does this mean for me?

Powered by Blogger.