Yes, this was a 100% scam call.
VM does not make unsolicited tech support calls in this way.
Best approach is to hang up and not speak to them. Once you engage with them and talk to them, it just confirms that the line is working properly and there is someone on the end of the line who is willing to speak to them. This just encourages more of the same types of scam call.