Azure / Azure/azure-powershell

Missing Timezone, MonthlyScheduleOptions, WeeklyScheduleOptions & incorrect OS

Open
#20,845 5 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Automation bug customer-reported Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

$uc = Get-AzAutomationSoftwareUpdateConfiguration -ResourceGroupName $ResourceGroupName -AutomationAccountName $Automationaccountname

Timezone, MonthlyScheduleOptions, WeeklyScheduleOptions information are missing in the output of command.
Secondly the OS property is giving output "Windows" even though it is configured for Linux.

### Issue script & Debug output

```PowerShell
PS C:\> $uc.ScheduleConfiguration

StartTime : 05-11-2022 10:00:00 +00:00
ExpiryTime : 01-01-0001 00:00:00 +00:00
IsEnabled : False
NextRun : 04-02-2023 10:00:00 +00:00
Interval :
Frequency : Month
MonthlyScheduleOptions :
WeeklyScheduleOptions :
TimeZone :
ResourceGroupName :
AutomationAccountName :
Name :
CreationTime : 01-01-0001 00:00:00 +00:00
LastModifiedTime : 01-01-0001 00:00:00 +00:00
Description :
```

### Environment data

```PowerShell
PS C:\> $PSVersionTable

Name Value
---- -----
PSVersion 7.2.4
PSEdition Core
GitCommitId 7.2.4
OS Microsoft Windows 10.0.19044
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```

### Module versions

```PowerShell
PS C:\> get-module az*

ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 2.11.1 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, …
Script 1.9.0 Az.Automation {Export-AzAutomationDscConfiguration, Export-AzAutoma…
```

### Error output

```PowerShell
There is no Error, only the information is missing/incorrect while using the command.
```

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.