Closed crossan007 closed 7 years ago
This script requires PowerShell 3.0 + for Get-CIMInstance to work.
Hi Charles,
Which version of PowerShell is running? ($host.version) I don't have Server 2008R2 to test with.
PS2.0 is "out of box" on Server 2008R2. It's trivial to upgrade WMF (and PowerShell) to 5.1.
I should have seen this before upgrading PowerShell...
It seems that PS3.0 cannot be used to manage SP2010, but I think this script depends on SP3.0+.
How about another way to read IIS WAMUserName/WAMUserPass? Does this run OK on Server 2008R2?
$tmp = Get-WMIObject -class IISApplicationPoolSetting -namespace "root\microsoftiisv2" -computer $env:computername $tmp | select WAM* |ft -a
This call works
Looks like get-CimInstance
is used twice in the script - the other place is for setting up scheduled tasks.
Yes, sure does. How does this look? Updated and saved a commit.
https://github.com/spjeff/spbestwarmup/commit/123aae91c6c8c488c1ce5c55006880c5190c7cbc
Believe this is now resolved. Closing.
Password auto detect attempt fails on server 2008R2 / SharePoint 2010.