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.