spjeff / spbestwarmup

Tired of waiting for SharePoint pages to load? Want something easy to support? That works on all versions? This warmup script is for you!
2 stars 0 forks source link

server 2008 R2 Script Issue #6

Closed pwilliams134 closed 8 years ago

pwilliams134 commented 8 years ago

I am having issue runing the script with server 2008 R2. It keep saying "Get-CimIntance" is not recognize as the name of a cmdlet. Can you help?

spjeff commented 8 years ago

When you type "$host.version" what do you see? This script requires PowerShell 3.0 at a minimum. You probably need to upgrade from PS2 to PS3. The most current version of PowerShell is now 5.0.

http://powershell.org/get-ciminstance-from-powershell-2-0/

pwilliams134 commented 8 years ago

PS2 will upgrade. Thank you