Tutorials Vm Windows Cloudinit
rem cmd
rem write all files to C:/pf9-test.txt
set output_file="C:/pf9-test.txt"
echo "Hello world from Platform9!" > %output_file%
ver >> %output_file%
time /T >> %output_file%
tree /A >> %output_file%
dir >> %output_file%rem cmd
rem rename the computer to "my-new-hostname"
netdom renamecomputer %COMPUTERNAME% /NewName "my-new-hostname" /forceLast updated
Was this helpful?
