Azure / Azure/autorest.powershell
Cannot use -InputObject and -AsJob together
Open
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.