![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Add-PSSnapin takes way too much time We've run into a situation where Add-PSSnapin takes way too much time, around 60 to 90 seconds. This only happens on one particular machine (which does not have Internet access). I *think* the delay is from verifying the digital signature of the assembly and related files. This knowledgebase article: http://support.microsoft.com/kb/941990 talks about a problem with long assembly load times due to a delay in downloading the certificate revocation list but, it does not address PowerShell specifically. Has anyone else had a problem with Add-PSSnapin taking too long? Is there a way to tell PowerShell not to download the certificate revocation list? Setting Execution Policy to Unrestricted had no effect. Thanks, John Vottero |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Add-PSSnapin takes way too much time I've not seen that particular problem. Which snapin is causing the problems? Have you tried to ngen the PowerShell assemblies? See http://blogs.msdn.com/powershell/arc...e-gac-ps1.aspx -- Richard Siddaway All scripts are supplied "as is" and with no warranty PowerShell MVP Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "John Vottero" wrote: Quote: > We've run into a situation where Add-PSSnapin takes way too much time, > around 60 to 90 seconds. This only happens on one particular machine (which > does not have Internet access). I *think* the delay is from verifying the > digital signature of the assembly and related files. This knowledgebase > article: > > http://support.microsoft.com/kb/941990 > > talks about a problem with long assembly load times due to a delay in > downloading the certificate revocation list but, it does not address > PowerShell specifically. > > Has anyone else had a problem with Add-PSSnapin taking too long? Is there a > way to tell PowerShell not to download the certificate revocation list? > > Setting Execution Policy to Unrestricted had no effect. > > Thanks, > > John Vottero > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Cmd takes long time to load | Vista General | |||
| Windows takes a long time to log off | Vista General | |||
| System takes a long time to boot | Vista General | |||
| Like, how much time takes a backup? | Vista General | |||
| Copy takes ALOT of time ! | Vista General | |||