Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228631

Re: Retrieve and modify VMX config file as per Hardening guide

$
0
0

You can place the 2 functions in 1 .ps1 file, no need to have 2 files.

 

You will have to let the PowerShell know about the functions, for that reason you will have to dot-source the .ps1 file(s).

Like this

. ./Set-VMAdvancedConfiguration.ps1

. ./Get-VMAdvancedConfiguration.ps1

Note that there is a blank between the 2 dots.

 

Now you call the functions as you did in your steps 3) and 4)


Viewing all articles
Browse latest Browse all 228631

Trending Articles



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