Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.14k stars 3.77k forks source link

New-AzWvdRegistrationInfo: Expiration Time Example is Incorrect #24972

Open dz-yamh opened 2 months ago

dz-yamh commented 2 months ago

Type of issue

Other (describe below)

Feedback

The example expiration time used follows the following format: "yyyy-MM-dd HH:mm"

The correct format is an ISO 8061-formatted string, 'yyyy-MM-ddTHH:mm:ss.fffffffZ'

After looking into the code for the New-AzWvdRegistrationInfo function, it appears that it first calls New-AzWvdHostPool, which uses 'yyyy-MM-ddTHH:mm:ss.fffffffZ'-formatted dates for its expiration time.

Page URL

https://learn.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdregistrationinfo?view=azps-12.0.0#parameters

Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/DesktopVirtualization/DesktopVirtualization/help/New-AzWvdRegistrationInfo.md

Author

@mikefrobbins

Document Id

1e5f7b8e-5aed-e830-f275-0aca20be7243

microsoft-github-policy-service[bot] commented 2 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @alec-baird, @costinhagiu.

microsoft-github-policy-service[bot] commented 2 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @alec-baird, @costinhagiu.