Creating Directory NET Framework
The next option is to create a folder using the system.io namespace and the CreateDirectory static method in the Directory class.
The command you can use is:
· [system.io.directory]::CreateDirectory("\\Shared\TestFolder")