Add-SPMultiLookupField.ps1


posted by Niklas Goude
09-11-2009

Downloads: 129
File size: 2.7kB
Views: 435
Add-SPMultiLookupField.ps1

DESCRIPTION:
NAME: Add-SPLookupField
Adds a Lookup Field to a SP List

PARAMETERS: 
-url			Url to SharePoint Site
-List			List Name
-Name			Name of the Field
-Description		Field Description
-LookupList		Lookup List Name
-LookupField		If Specified, Lookup Will Display this Field Instead, Default set to ItemName
-Required		Boolean Value, If True, Field will be Required

SYNTAX:

Add-SPLookupField -url http://moss -List Users -Name Computer -Description "Users Computer" -LookupList Computers

Adds a Lookup Field in the Users List pointing to the Computers List

Add-SPLookupField -help

Displays the help topic for the script

Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.