Import-SPOListItemsFromCSV

Synopsis

Adds items to a list from a csv file. You must provide a csv with a header line with the internal names of the fields to be filled in.

Syntax

Import-SPOListItemsFromCSV -Web <Web> -List <String> -File <String> [<CommonParameters>]

Description

Parameters

-Web <Web>

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

-List <String>

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

-File <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

Import list items from csv

PS C:\> Import-SPOListItemsFromCSV -Web $ctx.Web -List "List Name" -File "C:\Some\File.csv"

Related links

Last edited Aug 5, 2014 at 12:06 AM by provokesolutions, version 9

Comments

No comments yet.