Azure / Azure/azure-cli-extensions

Command isn't working in powershell

Open
#3,229 1 comment 0 reactions 1 assignee Claimed by @qwordy View on GitHub
Cloud Service extended support
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)

### Extension name (the extension in question)
cloud-service

### Description of issue (in as much detail as possible)
PS C:\Users\ajreddy> az cloud-service create -g test-az-cli -n MigrateCloudService --roles MigrateCloudService_WorkerRole:Standard_D1_v2:1:Standard --package-url https://ajreddystoragenrp47.blob.core.windows.net/test-az-cli-cs-es/MigrateCloudService.cspkg?sp=r&st=2021-04-05T11:25:41Z&se=2021-04-05T19:25:41Z&spr=https&sv=2020-02-10&sr=b&sig=hpFhZi9PyBwzxf6Ge72JRj%2BLayEO6vXsASF6Bea%2F4tM%3D --configuration @"C:\NRP\Networking-nrp\out\debug-amd64\Nrp.Test.CsmTest\Data\CsOnVmssTests\TestArtifacts\MigrateCloudService\ServiceConfiguration.Cloud.cscfg"
At line:1 char:394
+ ... wzxf6Ge72JRj%2BLayEO6vXsASF6Bea%2F4tM%3D" --configuration @"C:\NRP\Ne ...
+ ~
No characters are allowed after a here-string header but before the end of the line.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedCharactersAfterHereStringHeader

The exact command is working on cmd but not in powershell
-----

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.