That looks good.
Add the WhatIf switch on the Set-VMResourceConfiguration cmdlet, that way you can see what will happen.
And btw, you don't have to add the back-tick when the line ends with the pipeline symbol.
That looks good.
Add the WhatIf switch on the Set-VMResourceConfiguration cmdlet, that way you can see what will happen.
And btw, you don't have to add the back-tick when the line ends with the pipeline symbol.