spjeff / sppatchify

SharePoint Patchify - centralized tool to apply CU patch to entire farm from one console
MIT License
1 stars 0 forks source link

Not woking for SP2010 with 1 server in farm. #2

Open ghost opened 7 years ago

ghost commented 7 years ago

(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.

spjeff commented 7 years ago

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.

ghost commented 7 years ago

Hi Jeff, 

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

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

пятница, 30 июня 2017 г., 20:13 +0300 от notifications@github.com notifications@github.com:

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 .

cloudchristoph commented 7 years ago

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.

ghost commented 7 years ago

That is probably a gap year)

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

пятница, 7 июля 2017 г., 13:17 +0300 от notifications@github.com notifications@github.com:

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 .

cloudchristoph commented 7 years ago

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?

ghost commented 7 years ago

Hi,

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

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

вторник, 18 июля 2017 г., 18:57 +0300 от notifications@github.com notifications@github.com:

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 .