Case A: the partition you want to expand is at the end of the disk.
No need to have Workstation inside the VM. You need to resize a partition and typically use "diskpart" in a Windows VM or "gdisk or parted ..." in a Linux VM.
Case B; the partition you want to expand is located at the beginning or middle of the disk.
There is no short answer here. Try to avoid this scenario - it rarely is worth the effort.
Try to add another disk instead - that is way easier.
________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...