get-itemproperty parameter

I just started reading chapter 3 in “Powershell a month of lunches”. It is doing a wonderful job of explaining get-help. Thanks Don, I am enjoying it!

I decided to type “get-help set-itempropery”. I noticed it does not have a parameter [-type] listed. The reason I pointed that out was I recently used the following command

set-itemproperty $path $name $value -type dword

As far as I can tell [-type] is not a listed parameter according to help, but I used it without error. Does that mean get-help is incomplete or did [-type] actually do nothing?

That’s a fun thing called dynamic parameters. That one is only available in a registry drive, and because help is static, it doesn’t show it.

Thanks for clearing that up :slight_smile: