I found this interesting behavior. Why could this happen
I am using the cmdlet New-Item for create a folder. If I write something like this it works
New-Item "D:\logeando9091" -type directory
I have a variable of type string. It contains the value of the path where I want the new folder.
Why when Use New-Item with this variable it fails?
New-Item $settings.get_Item("LogFolder") -type directory
Here is a screenshot