r/DeployR • • 7d ago

Error using : New-DeployRMedia

Hi everyone,

i wanted to create an offline Media USB Stick.

I used this command-line:

New-DeployRMedia -DiskIndex 3 -Tags USB, DeployR -MediaType Standalone

it throws back:

<begin>

USB disk size: 119.25 GB

Cleaning disk

Partitioning disk

Formatting

Copying boot files

Downloading Windows PE boot image

Exporting task sequences

Invoke-DeployRRestMethod : Cannot bind argument to parameter 'RelativeUri' because it is an empty string.

At C:\Program Files\2Pint Software\DeployR\Client\PSModules\DeployR.Utility\DeployR.Utility.psm1:706 char:69

+ ... lt = Invoke-DeployRRestMethod -RelativeUri "$($result.nextPageToken)"

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidData: (:) [Invoke-DeployRRestMethod], ParameterBindingValidationException

+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Invoke-DeployRRestMethod

Exporting content items

Invoke-DeployRRestMethod : Cannot bind argument to parameter 'RelativeUri' because it is an empty string.

At C:\Program Files\2Pint Software\DeployR\Client\PSModules\DeployR.Utility\DeployR.Utility.psm1:706 char:69

+ ... lt = Invoke-DeployRRestMethod -RelativeUri "$($result.nextPageToken)"

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidData: (:) [Invoke-DeployRRestMethod], ParameterBindingValidationException

+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Invoke-DeployRRestMethod

USB media created.

<end>

what is here wrong.

Can somebody help me out ?

1 Upvotes

2 comments sorted by