Powershell之True或False

contentType.ReadOnly=[System.BooLean]::False------------起作用

contentType.ReadOnly=[System.BooLean]::True-------------不起作用

ContentType.ReadOnly=$true----------------------------------起作用

ContentType.ReadOnly=$false---------------------------------不起作用

posted @ 2013-04-23 10:40  daishuguang  阅读(431)  评论(0编辑  收藏  举报