bug on nuget download, sample of export single item

This commit is contained in:
RuiRomano 2024-07-02 12:36:04 +01:00
Родитель 785b211965
Коммит 84fd644fdd
2 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -22,7 +22,7 @@ $nugets = @(
foreach ($nuget in $nugets)
{
if (!(Test-Path -LiteralPath "$currentPath\.nuget\$($nuget.name).$($nuget.version)*" -PathType Container)) {
if (!(Test-Path -path "$currentPath\.nuget\$($nuget.name).$($nuget.version)*" -PathType Container)) {
Write-Host "Downloading and installing Nuget: $($nuget.name)"

Просмотреть файл

@ -58,6 +58,14 @@ Import-FabricItems -workspaceId "[Workspace Id]" -path "[PBIP file path]"
```
# Sample - Export item from workspace
```powershell
Export-FabricItem -workspaceId "[Workspace Id]" -itemId "[Item Id]" -path '[Export folder file path]'
```
# Sample - Import PBIP to workspace - item by item
```powershell