Powershell – Create a Folder by code

Uses the .NET Frameworks and Windows PowerShell to create a new folder on a computer.

## Script name:    CreateDir.ps1 
# Created on:     2006-09-24 
# Author:         Kent Finkle 
# Purpose:        Create a Directory with PowerShell. 

[IO.Directory]::CreateDirectory("c:\scripts\newdir1\newdir2")

SOURCE

LINK

LANGUAGE
ENGLISH