New-MSTasks

Create new Task record(s)

Syntax


New-MSTasks -Subject (String) [-Description (String)] [-Process (String)] [-SubProcess (String)] [-BatchSize (Int32)]

New-MSTasks -Tasks (Array) [-DontMatchOnTaskId] [-DontMatchOnTaskSubject] [-DontMatchOnLegacyId] [-LookupOnly] [-BatchSize (Int32)]

Examples


## Create a new Task with Subject "APITesterTask", Description "APITesterTask" and return the new Task Id.
(New-MSTasks -Subject "APITesterTask" -Description "APITesterTask").TaskId