email us now

Add-PSSnapin takes a long time to execute

Expand / Collapse
 
     

Add-PSSnapin takes a long time to execute


The Add-PSSnapin command should execute in less than a second.  But, if your machine has restricted access to the Internet, it could take 60 to 90 seconds to execute.  This delay occurs when PowerShell is verifying the digital signatures on the snap-in that is being loaded.  To verify the signatures, PowerShell needs to download the certificate revocation list and, if Internet access is restricted, it can take 60 to 90 seconds for this attempt to time out.

You can disable the check for the certificate revocation list by doing:

- Open "Internet Options" in the Control Panel or Internet Explorer
- Click the "Advanced" tab
- Scroll down to "Security"
- UNcheck "Check for publisher's certificate revocation"
- UNcheck "Check for server certificate revocation"
- Click OK

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Wednesday, July 01, 2009
Last Modified By: JohnV
Type: FIX
Article not rated yet.
Article has been viewed 445 times.
Options