powershell doc missing parameters?

get-help new-item -full

it shows this example:

new-item -path . -name testfile1.txt -type "file"

however, the parameter only lists “-ItemType” but no “-type”. Apparantly, they are the same, but not mentioned anywhere.

is this situation common? is this supposed to be a doc bug, or am i missing some standard assumption somewhere? Or, perhaps -type is added in v.2?

∑ http://xahlee.org/

No comments:

Post a Comment