citrix / citrix/Powershell-Scripts

intrasite rep with mor than 1 store is not working

Offen
#2 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PowerShell
Sterne
53
Forks
27
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I tried to use the Script for an Intrasite replication. However, it is not working and will cancel with the following Output:
`Get-PvsStore : Cannot bind parameter 'StoreId'. Cannot convert value "System.Object[]" to type "System.Guid". Error: "Guid should contain 32 digits with 4 dashes `

In my case, this line returns more than one store back and this is not supported
`$IS_storeID = (Get-PvsServerStore -ServerName $IS_srcServer.Split('.')[0]).StoreID[0].ToString()`

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.