citrix / citrix/Powershell-Scripts

intrasite rep with mor than 1 store is not working

Open
#2 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
53
Forks
27
PR merge metrics
No merged PRs in 30d

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()`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.