-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02664d4
commit 113a936
Showing
3 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,15 +23,15 @@ Adds a new task to a planner bucket | |
```powershell | ||
Add-PnPPlannerTask -Group <PlannerGroupPipeBind> -Plan <PlannerPlanPipeBind> -Bucket <PlannerBucketPipeBind> -Title <String> | ||
[-PercentComplete <Int32>] [-DueDateTime <DateTime>] [-StartDateTime <DateTime>] | ||
[-AssignedTo <String[]] [-Priority <Int32>] [-Description <String>] | ||
[-AssignedTo <String[]] [-Priority <Int32>] [-Description <String>] [-OutputTask] | ||
``` | ||
|
||
### By Plan Id | ||
```powershell | ||
Add-PnPPlannerTask -Bucket <PlannerBucketPipeBind> -PlanId <String> -Title <String> | ||
[-PercentComplete <Int32>] [-DueDateTime <DateTime>] [-StartDateTime <DateTime>] | ||
[-AssignedTo <String[]] [-Priority <Int32>] [-Description <String>] | ||
[-AssignedTo <String[]] [-Priority <Int32>] [-Description <String>] [-OutputTask] | ||
``` | ||
|
||
|
@@ -61,6 +61,12 @@ Add-PnPPlannerTask -Group "Marketing" -Plan "Conference Plan" -Bucket "Todos" -T | |
|
||
This cmdlet adds a new task and assigns to [email protected] and [email protected] | ||
|
||
### Example 4 | ||
```powershell | ||
$task = Add-PnPPlannerTask -Group "Marketing" -Plan "Conference Plan" -Bucket "Todos" -Title "Design booth layout" -AssignedTo "[email protected]","[email protected]" -OutputTask | ||
``` | ||
|
||
This returns the task as an object to inspect specific values | ||
|
||
## PARAMETERS | ||
|
||
|
@@ -233,6 +239,21 @@ Accept pipeline input: False | |
Accept wildcard characters: False | ||
``` | ||
### -OutputTask | ||
Returns the just created task as an object to inspect values | ||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters