Closed kennhung closed 10 months ago
This PR fixed the problem of using the New-HyperVCloudImageVM.ps1 script with Chinese Regional format.
New-HyperVCloudImageVM.ps1
When I'm using the script on my computer, I get the following error.
Cannot convert value "十" to type "System.Byte". Error: "Value was either too large or too small for an unsigned byte."
Which is caused by the command Get-Date.
Get-Date
This PR fixed the problem of using the
New-HyperVCloudImageVM.ps1
script with Chinese Regional format.When I'm using the script on my computer, I get the following error.
Which is caused by the command
Get-Date
.