An Azure service that is used to automate, configure, and install updates across hybrid environments.
@Azuretech The behavior of write-host in PS 7.2 is different from previous versions. Please use write-output instead of Write-Host. Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to update Azure automation account runbooks from powershell runtime version 7.1 to 7.2 as recommended as 7.1 is not supported by parent. but write-host is not working in version 7.2 and printing blank in 7.2 . it was fine with version 7.1 . example : below command runbooks showing no output. write-host "this is test" write-output is only working. is write-host not supported in 7.2 runtime? Please confirm. FYI :l I have upgraded all the required az modules
An Azure service that is used to automate, configure, and install updates across hybrid environments.
@Azuretech The behavior of write-host in PS 7.2 is different from previous versions. Please use write-output instead of Write-Host. Thanks.