Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start-AzureRmVM : No status info #6030

Closed
foxxhot opened this issue Apr 24, 2018 · 4 comments
Closed

Start-AzureRmVM : No status info #6030

foxxhot opened this issue Apr 24, 2018 · 4 comments
Assignees
Labels
Compute - VM Service Attention This issue is responsible by Azure service team.

Comments

@foxxhot
Copy link

foxxhot commented Apr 24, 2018

Description

We are using status info as following to judge if the command runs correctly in automation runbook, but with AzureRM.Compute 4.6.0 nothing returns from Start-AzureRmVM.

$result = $vm | Start-AzureRmVM
$result.Status

With AzureRM.Compute 4.5.0 and before this issue did not exist. Could you fix this issue? Thanks.

Script/Steps for Reproduction

$vm = get-azurermvm -ResourceGroupName iis -Name iis
$result = $vm | Start-AzureRmVM
$result

OperationId :
Status :
StartTime :
EndTime :
Error :

Module Version

ディレクトリ: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands


Script 5.7.0 AzureRM

Environment Data

PS C:> $PSVersionTable

Name Value


PSVersion 5.1.16299.251
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.251
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

@cormacpayne
Copy link
Member

@hyonholee @nibhat hey guys, would you mind taking a look at this issue? Do you know of any issues with the server not returning data for these types of operations?

@JeffBow
Copy link

JeffBow commented May 10, 2018

Can confirm it still exists on AzureRM.Compute 5.0 and also effects Stop-AzureRmVm

@axelgMS
Copy link
Member

axelgMS commented May 14, 2018

Possible workaround seems to be a Get-AzureRMVM with -Status parameter to get the empty fields.

@markcowl
Copy link
Member

This is a dupliacte of #5982 [even though the title is different, the underlying issue is the same]. Closing

@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compute - VM Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

8 participants