citrix / citrix/Powershell-Scripts

intrasite rep with mor than 1 store is not working

オープン
#2 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PowerShell
スター
53
フォーク
27
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。