If you want to hide few sharepoint list fields in Display Form .Here is the Powershell scripts for you
$web = Get-SPWeb "http://mysite"
$list = $web.Lists["Your List"]
$f = $list.Fields.GetFieldByInternalName("FieldName")
$f.ShowInDisplayForm = $false
$f.Update()
To hide a sharepoint List Field in Edit Form
$web = Get-SPWeb "http://mysite"
$list = $web.Lists["Custom List"]
$f = $list.Fields.GetFieldByInternalName("FieldName")
$f.ShowInEditForm = $false
$f.Update()
To hide a sharepoint List Field in NewForm
$web = Get-SPWeb "http://mysite"
$list = $web.Lists["Custom List"]
$f = $list.Fields.GetFieldByInternalName("FieldName")
$f.ShowInNewForm = $false
$f.Update()
Happy SharePointing :-)

Laxman VyavaharePosted Oct 28, 2014, 4:07 AM
hi lakshaman, i executing code lines one by one getting error for fields like... PS C:\Users\Administrator> $f = $list.Fields.GetFieldByInternalName("Title"); You cannot call a method on a null-valued expression. At line:1 char:41 + $f = $list.Fields.GetFieldByInternalName <<<< ("Title"); + CategoryInfo : InvalidOperation: (GetFieldByInternalName:String ) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull and may i know how to run block of script at once?? i mean hw to execute whole code at one time on powershell mgnt shell?