EnsurePath [-name] <String>
The EnsurePath function with check if a directory exists and if it does not exist will create it
EnsurePath
EnsurePath -name "C:\Temp"