开发者

PowerShell question

Hey I got the following ps for retrieving the site template from SharePoint,but I do not quite undersantd what does the second half of the script( | ? {$_.IsHidden -eq $false }) does? Can someone explain this to me please as I am fairly new to PS.

Get-开发者_运维问答SPWebTemplate | ? {$_.IsHidden -eq $false }


The ? operator is an alias for where-object so the script is asking

Does the property isHidden from the object passed to me from get-spWebtemplate cmdlet property = false if so pass it on in the pipe line

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜