After last post we copy all backup files from the source to the destination. If all files is on the destination server we can now restore them into a database to complete the log shipping. I will not write about the functions that is the same in both files such as Import-MyModule. See last blog post if you have not read it.
This is a two blog post divided into two posts. The second will be published within a week from this one. The script was created a while ago and has some minor updates.
This might take you 6 minutes to read.
Continue the script
Now we need to populate data into the other tables to create an inventory of CPU/memory, disk and nic changes. All this to help out with billing and inventory of VM changes.
From the last post we now know if the VM is active in VMware we should now verify the properties around the VM. To keep an history of all properties we do not do updates but only inserts into the database.
This might take you 7 minutes to read.
This is a two blog post divided into two posts. The second will be published within a week from this one.