Azure / Azure/autorest.powershell

Cannot use -InputObject and -AsJob together

Open
#603 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

The following job will fail immediately:

```powershell
$job = $workspace | Remove-AzDatabricksWorkspace -AsJob
```
```powershell
$job = Remove-AzDatabricksWorkspace -InputObject $workspace -AsJob
```

But if I use piping only, or `-AsJob` only, it succeeds:
```powershell
$dbr | Remove-AzDatabricksWorkspace
```
```powershell
$job = Remove-AzDatabricksWorkspace -ResourceGroupName yeming -Name yeming2 -AsJob
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.