Set-SPOListItemField

Synopsis

Modify a field of a list item. Provide the field name, the value you want to change it to and the server relative url of the list item

Syntax

Set-SPOListItemField -Context <ClientContext> -FieldName <String> -FieldValue <String> -ItemServerRelativeUrl <String> [<CommonParameters>]

Description

Parameters

-Context <ClientContext>

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-FieldName <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-FieldValue <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-ItemServerRelativeUrl <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Set default page values

PS C:\> Set-SPOListItemField -Context $ctx -FieldName "StoreName" -FieldValue "New Store Name" -ItemServerRelativeUrl "/sites/store/Pages/default.aspx"

Related links

Last edited Aug 5, 2014 at 1:07 AM by provokesolutions, version 9

Comments

No comments yet.