开发者

PowerShell question

开发者 https://www.devze.com 2022-12-24 20:18 出处:网络
Hey I got the following ps for retrieving the site template from SharePoint,but I do not quite undersantd what does

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

精彩评论

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