I have a basic idea of defining a workspace in P4V using command line, however I'm trying to create a workspace and assign it a name, root and stream using command line but have been unable to do so.
Any examples on how to do this would be greatly appreciated if it's possible to do at all.
Found what I was after, still unsure as to setting a Steam but this will get you most of the way:
https://portal.perforce.com/s/article/3504
You can then set the workspace for streams using:
D:\testme_root>p4 client -f -s -S //stream_root_path