Invoke-AzVmssVMRunCommand fetch logs method #16030
Answered
by
haagha
redhairshanks
asked this question in
Q&A
-
Can someone point me out to the method which fetches the logs from C:\Packages\Plugins\Microsoft.CPlat.Core.RunCommandWindows. I want to write a custom method which provides tail (follow file) like functionality while running these commands in releases. |
Beta Was this translation helpful? Give feedback.
Answered by
haagha
Nov 4, 2021
Replies: 1 comment
-
@redhairshanks you can try the new Az.Compute module 4.19.0. Use Set-AzVMRunCommand and set the -OutputBlobUri parameter to set the output stream. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dingmeng-xue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@redhairshanks you can try the new Az.Compute module 4.19.0. Use Set-AzVMRunCommand and set the -OutputBlobUri parameter to set the output stream.