Tuesday 22 March 2016

Powershell create directory structure

New-Item enables creation of a full directory structure in one - non of that mkdir stuff.

New-Item -ItemType Directory -Force -Path \\pppweb03b\D$\EAP-6.2.0\jboss-eap-6.2\standalone\log

No comments:

Post a Comment