I was finally able to get this to work by just creating two separate scripts: one for editing cpus, ram, and disk size and another for setting the HotAdd function. I'm not sure why the single script that combines both wasn't working nor do I care at this point. I just have the Set-CIHA script run first and than run the edit settings script.
↧