sppatchify icon indicating copy to clipboard operation
sppatchify copied to clipboard

Not woking for SP2010 with 1 server in farm.

Open ghost opened this issue 8 years ago • 6 comments
trafficstars

(Get-SPProduct).Servers and $global:servers.count - shows nothing in my SharePoint farm (there is no such property). That's why the script divides by zero in this case.

ghost avatar Jan 02 '17 21:01 ghost

Hi Vonder,

Would you please download the latest release ZIP and run a test?

When you open a new PowerShell window and run the below two lines - does it show servers in the farm?

Add-PSSnapin Microsoft.SharePoint.PowerShell
Get-SPServer | ft -a

A screenshot of the error may help too.

spjeff avatar Jun 30 '17 17:06 spjeff

Hi Jeff, 

I'm on vocation now till the end of the year. Sorry. 

С уважением, Владимир.

пятница, 30 июня 2017 г., 20:13 +0300 от [email protected] [email protected]:

Hi Vonder, Would you please download the latest release ZIP and run a test? When you open a new PowerShell window and run the below two lines - does it show servers in the farm? Add-PSSnapin Microsoft.SharePoint.PowerShell Get-SPServer | ft -a A screenshot of the error may help too. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .

ghost avatar Jun 30 '17 17:06 ghost

Wow - "now till the end of the year." Think I need to renegotiate my vacation time with my manager ;)

I'll try to test it next week on some old Dev-"Farm". Thanks Jeff.

cloudchristoph avatar Jul 07 '17 10:07 cloudchristoph

That is probably a gap year)

С уважением, Владимир.

пятница, 7 июля 2017 г., 13:17 +0300 от [email protected] [email protected]:

Wow - " now till the end of the year ." Think I need to renegotiate my vacation time with my manager ;) I'll try to test it next week on some old Dev-"Farm". Thanks Jeff. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .

ghost avatar Jul 08 '17 16:07 ghost

error_sppatchify_sp2010

Okay. "Get-SPServer" returns servers.

But I've also got the error mentioned in this issue with the latest release. It's a single server SP2010 installation (even SQL on the same machine)

"(Get-SPProduct).Servers" returns nothing.

Does this helps at all?

cloudchristoph avatar Jul 18 '17 15:07 cloudchristoph

Hi,

Sorry but I didn't understand the question...

С уважением, Владимир.

вторник, 18 июля 2017 г., 18:57 +0300 от [email protected] [email protected]:

Okay. "Get-SPServer" returns servers. But I've also got the error mentioned in this issue with the latest release. It's a single server SP2010 installation (even SQL on the same machine) "(Get-SPProduct).Servers" returns nothing. Does this helps at all? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .

ghost avatar Jul 18 '17 16:07 ghost