citrix / citrix/Powershell-Scripts
intrasite rep with mor than 1 store is not working
- Langage dominant
- PowerShell
- Étoiles
- 53
- Forks
- 27
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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()`
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by running the Get-PvsServerStore command from the reported $IS_storeID assignment against a server with multiple stores and trace the value passed to Get-PvsStore. Review the surrounding replication script to establish which store should be selected or handled, then verify the script completes without passing an array where a single StoreId is required.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- powershell
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100