Hi,
When I am executing the below script, I am getting warning
Invoke-VMScript -vm $serv -ScriptText "echo rescan > c:\diskpart.txt && echo select vol $VolumeLetter >> c:\diskpart.txt && echo extend >> c:\diskpart.txt && diskpart.exe /s c:\diskpart.txt" -ScriptType BAT -GuestUser admin -GuestPassword "password"
WARNING: This property is deprecated and will be removed in a following release. It has been added for backwards compatibility with the string class that the Invoke-VMScript cmdlet used to return. Use the 'ScriptOutput' property instead.
Please help