PowerShell Create Folder

       #Makes a new folder to a UNC path. Creates a folder within an existing root share.
        
        $New_FolderName = Read-Host "Enter New Folder Name"
        
        $RootShare=Read-Host "Enter Existing Root Share"
        
        $ServerName= Read-Host "Enter Server Name""
        
        New-Item -ItemType directory -Path "\\$ServerName\$RootShare\$New_FolderName" 

2020 | Scott W. Head  |  Sr. Systems Admin | Certified Microsoft Windows Server Administrator