planner plan get¶
Retrieve information about the specified plan
Usage¶
m365 planner plan get [options]
Alias¶
m365 planner plan details get [options]
Options¶
-i, --id [id]
- ID of the plan. Specify either
id
ortitle
but not both. -t, --title [title]
- Title of the plan. Specify either
id
ortitle
but not both. --planId [planId]
- (deprecated. Use
id
instead) ID of the plan. Specify eitherplanId
orplanTitle
but not both. ---planTitle [planTitle]
- (deprecated. Use
title
instead) Title of the plan. Specify eitherplanId
orplanTitle
but not both. --ownerGroupId [ownerGroupId]
- ID of the Group that owns the plan. Specify either
ownerGroupId
orownerGroupName
when usingtitle
or the deprecatedplanTitle
. --ownerGroupName [ownerGroupName]
- Name of the Group that owns the plan. Specify either
ownerGroupId
orownerGroupName
when usingtitle
or the deprecatedplanTitle
. -h, --help
- output usage information
--query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv
. Defaultjson
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Examples¶
Returns the Microsoft Planner plan with id gndWOTSK60GfPQfiDDj43JgACDCb
m365 planner plan get --id "gndWOTSK60GfPQfiDDj43JgACDCb"
Returns the Microsoft Planner plan with title MyPlan for Group 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
m365 planner plan get --title "MyPlan" --ownerGroupId "233e43d0-dc6a-482e-9b4e-0de7a7bce9b4"
Returns the Microsoft Planner plan with title MyPlan for Group My Planner Group
m365 planner plan get --title "MyPlan" --ownerGroupName "My Planner Group"