Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

Warning Message while running the script

$
0
0

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


Viewing all articles
Browse latest Browse all 16717

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>