Skip to content

Commit b22b6ec

Browse files
authored
Add default output view for orgnanization (#2002)
1 parent 616fa4d commit b22b6ec

File tree

2 files changed

+311
-280
lines changed

2 files changed

+311
-280
lines changed

src/readme.graph.default.output.md

Lines changed: 304 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
1+
# Microsoft Graph PowerShell Default Output Format
2+
3+
``` yaml
4+
# Format cmdlet default output.
5+
directive:
6+
- where:
7+
model-name: ^MicrosoftGraphUser\d*$
8+
set:
9+
format-table:
10+
properties:
11+
- DisplayName
12+
- Id
13+
- Mail
14+
- UserPrincipalName
15+
- where:
16+
model-name: ^MicrosoftGraphPerson\d*$
17+
set:
18+
format-table:
19+
properties:
20+
- DisplayName
21+
- Id
22+
- MailboxType
23+
- PersonType
24+
- IsFavorite
25+
- where:
26+
model-name: ^MicrosoftGraphContact\d*$
27+
set:
28+
format-table:
29+
properties:
30+
- DisplayName
31+
- Id
32+
- EmailAddresses
33+
- Phones
34+
- CreatedDateTime
35+
- where:
36+
model-name: ^MicrosoftGraphCalendar\d*$
37+
set:
38+
format-table:
39+
properties:
40+
- Name
41+
- Id
42+
- OwnerName
43+
- OwnerAddress
44+
- where:
45+
model-name: ^MicrosoftGraphEvent\d*$
46+
set:
47+
format-table:
48+
properties:
49+
- Subject
50+
- Id
51+
- StartDateTime
52+
- StartTimeZone
53+
- EndDateTime
54+
- EndTimeZone
55+
- where:
56+
model-name: ^MicrosoftGraphDrive\d*$
57+
set:
58+
format-table:
59+
properties:
60+
- Name
61+
- Id
62+
- DriveType
63+
- CreatedDateTime
64+
- where:
65+
model-name: ^MicrosoftGraphDriveItem\d*$
66+
set:
67+
format-table:
68+
properties:
69+
- Name
70+
- Id
71+
- WebUrl
72+
- FolderChildCount
73+
- Size
74+
- CreatedDateTime
75+
- where:
76+
model-name: ^MicrosoftGraphList\d*$
77+
set:
78+
format-table:
79+
properties:
80+
- DisplayName
81+
- Id
82+
- Name
83+
- WebUrl
84+
- CreatedDateTime
85+
- where:
86+
model-name: ^MicrosoftGraphSite\d*$
87+
set:
88+
format-table:
89+
properties:
90+
- DisplayName
91+
- Id
92+
- Name
93+
- SiteCollectionHostname
94+
- WebUrl
95+
- where:
96+
model-name: ^MicrosoftGraphGroup\d*$
97+
set:
98+
format-table:
99+
properties:
100+
- DisplayName
101+
- Id
102+
- MailNickname
103+
- Description
104+
- GroupTypes
105+
- where:
106+
model-name: ^MicrosoftGraphTeam\d*$
107+
set:
108+
format-table:
109+
properties:
110+
- DisplayName
111+
- Id
112+
- Description
113+
- IsArchived
114+
- where:
115+
model-name: ^MicrosoftGraphMessage\d*$
116+
set:
117+
format-table:
118+
properties:
119+
- Subject
120+
- Id
121+
- FromEmailAddressAddress
122+
- ReceivedDateTime
123+
- BodyContentType
124+
- hasAttachments
125+
- where:
126+
model-name: ^MicrosoftGraphNotebook\d*$
127+
set:
128+
format-table:
129+
properties:
130+
- DisplayName
131+
- Id
132+
- CreatedDateTime
133+
- IsShared
134+
- IsDefault
135+
- where:
136+
model-name: ^MicrosoftGraphSectionGroup\d*$
137+
set:
138+
format-table:
139+
properties:
140+
- DisplayName
141+
- Id
142+
- CreatedDateTime
143+
- ParentNotebookDisplayName
144+
- IsDefault
145+
- where:
146+
model-name: ^MicrosoftGraphConversation\d*$
147+
set:
148+
format-table:
149+
properties:
150+
- Topic
151+
- Id
152+
- UniqueSenders
153+
- HasAttachments
154+
- Threads
155+
- LastDeliveredDateTime
156+
- where:
157+
model-name: ^MicrosoftGraphConversationThread\d*$
158+
set:
159+
format-table:
160+
properties:
161+
- Topic
162+
- Id
163+
- UniqueSenders
164+
- HasAttachments
165+
- Posts
166+
- LastDeliveredDateTime
167+
- where:
168+
model-name: ^MicrosoftGraphPost\d*$
169+
set:
170+
format-table:
171+
properties:
172+
- Id
173+
- SenderEmailAddressAddress
174+
- BodyContentType
175+
- HasAttachments
176+
- ReceivedDateTime
177+
- where:
178+
model-name: ^MicrosoftGraphDirectoryObject\d*$
179+
set:
180+
format-table:
181+
properties:
182+
- Id
183+
- DeletedDateTime
184+
- where:
185+
model-name: ^MicrosoftGraphPlace\d*$
186+
set:
187+
format-table:
188+
properties:
189+
- DisplayName
190+
- Id
191+
- AddressCity
192+
- Phone
193+
- where:
194+
model-name: ^MicrosoftGraphPlannerTask\d*$
195+
set:
196+
format-table:
197+
properties:
198+
- Title
199+
- Id
200+
- PlanId
201+
- BucketId
202+
- Priority
203+
- StartDateTime
204+
- CompletedDateTime
205+
- PercentComplete
206+
- where:
207+
model-name: ^MicrosoftGraphPlannerPlan\d*$
208+
set:
209+
format-table:
210+
properties:
211+
- Title
212+
- Id
213+
- Owner
214+
- CreatedDateTime
215+
- where:
216+
model-name: ^MicrosoftGraphPlannerPlanDetails\d*$
217+
set:
218+
format-table:
219+
properties:
220+
- Id
221+
- CategoryDescriptions
222+
- SharedWith
223+
- ContextDetails
224+
- where:
225+
model-name: ^MicrosoftGraphSchemaExtension\d*$
226+
set:
227+
format-table:
228+
properties:
229+
- Description
230+
- Id
231+
- Status
232+
- Properties
233+
- TargetTypes
234+
- Owner
235+
- where:
236+
model-name: ^MicrosoftGraphContact\d*$
237+
set:
238+
format-table:
239+
properties:
240+
- DisplayName
241+
- Id
242+
- EmailAddresses
243+
- where:
244+
model-name: ^MicrosoftGraphOrgContact\d*$
245+
set:
246+
format-table:
247+
properties:
248+
- DisplayName
249+
- Id
250+
- Mail
251+
- MailNickname
252+
- where:
253+
model-name: ^MicrosoftGraphApplication\d*$
254+
set:
255+
format-table:
256+
properties:
257+
- DisplayName
258+
- Id
259+
- AppId
260+
- SignInAudience
261+
- PublisherDomain
262+
- where:
263+
model-name: ^MicrosoftGraphServicePrincipal\d*$
264+
set:
265+
format-table:
266+
properties:
267+
- DisplayName
268+
- Id
269+
- AppId
270+
- SignInAudience
271+
- ServicePrincipalType
272+
- where:
273+
model-name: ^MicrosoftGraphTodoTaskList\d*$
274+
set:
275+
format-table:
276+
properties:
277+
- DisplayName
278+
- Id
279+
- IsOwner
280+
- IsShared
281+
- WellknownListName
282+
- where:
283+
model-name: ^MicrosoftGraphTodoTask\d*$
284+
set:
285+
format-table:
286+
properties:
287+
- Title
288+
- Id
289+
- Status
290+
- Body
291+
- DueDateTime
292+
- Importance
293+
- where:
294+
model-name: ^MicrosoftGraphOrganization\d*$
295+
set:
296+
format-table:
297+
properties:
298+
- DisplayName
299+
- Id
300+
- TenantType
301+
- CountryLetterCode
302+
- VerifiedDomains
303+
- AssignedPlans
304+
```

0 commit comments

Comments
 (0)