-
Notifications
You must be signed in to change notification settings - Fork 3
/
autographps.psd1
294 lines (244 loc) · 12.2 KB
/
autographps.psd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
#
# Module manifest for module 'AutoGraphPS'
#
# Generated by: adamedx
#
# Generated on: 9/24/2017
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'autographps.psm1'
# Version number of this module.
ModuleVersion = '0.44.0'
# Supported PSEditions
CompatiblePSEditions = @('Desktop', 'Core')
# ID used to uniquely identify this module
GUID = '524a2b17-37b1-43c2-aa55-6c19692c6450'
# Author of this module
Author = 'Adam Edwards'
# Company or vendor of this module
CompanyName = 'Modulus Group'
# Copyright statement for this module
Copyright = '(c) 2024 Adam Edwards.'
# Description of the functionality provided by this module
Description = 'The friendly, scriptable Graph Explorer CLI for automating the Microsoft Graph'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.1'
# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''
# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# CLRVersion = ''
# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()
# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @('')
# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @('./src/cmdlets/common/AutoGraphFormats.ps1xml', './src/common/CustomFormats.ps1xml')
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
NestedModules = @(
@{ModuleName='autographps-sdk';ModuleVersion='0.32.0';Guid='4d32f054-da30-4af7-b2cc-af53fb6cb1b6'}
@{ModuleName='scriptclass';ModuleVersion='0.20.3';Guid='9b0f5599-0498-459c-9a47-125787b1af19'}
@{ModuleName='ThreadJob';ModuleVersion='2.0.3';Guid='0e7b895d-2fec-43f7-8cae-11e8d16f6e40'}
)
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @(
'Add-GraphRelatedItem',
'Find-GraphPermission',
'Find-GraphType',
'Get-Graph',
'Get-GraphChildItem',
'Get-GraphItem',
'Get-GraphItemRelationship',
'Get-GraphItemUri',
'Get-GraphLastOutput',
'Get-GraphLocation',
'Get-GraphMember',
'Get-GraphMethod',
'Get-GraphRelatedItem',
'Get-GraphResourceWithMetadata',
'Get-GraphType',
'Get-GraphUri',
'Get-GraphUriInfo',
'Invoke-GraphMethod',
'Measure-Graph',
'New-Graph',
'New-GraphItem',
'New-GraphItemRelationship',
'New-GraphMethodParameterObject',
'New-GraphObject',
'Remove-Graph',
'Remove-GraphItem',
'Remove-GraphItemRelationship',
'Set-GraphItem',
'Set-GraphLocation',
'Set-GraphPrompt',
'Show-GraphHelp',
'Update-GraphMetadata'
)
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
# Variables to export from this module
VariablesToExport = @(
'GraphAutoPromptPreference'
'GraphMetadataPreference'
'GraphPromptColorPreference'
'GraphVerboseOutputPreference' # From AutoGraphPS-SDK
'LastGraphItems' # From AutoGraphPS-SDK
'AutoGraphColorModePreference' # From AutoGraphPS-SDK
)
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @('gcd', 'gg', 'glo', 'ggrel', 'gri', 'ggu', 'guri', 'ggci', 'ggi', 'ggm', 'ggmt', 'gls', 'gwd', 'gni', 'grm', 'gsi', 'igm', 'ngo', 'ngp')
# DSC resources to export from this module
# DscResourcesToExport = @()
# List of all modules packaged with this module
# ModuleList = @('')
# List of all files packaged with this module
FileList = @(
'.\autographps.psd1',
'.\autographps.psm1',
'.\src\aliases.ps1',
'.\src\cmdlets.ps1',
'.\src\formats.ps1',
'.\src\graph.ps1',
'.\src\settings.ps1',
'.\src\client\LocationContext.ps1',
'.\src\client\GraphLocalSettings.ps1',
'.\src\cmdlets\Add-GraphRelatedItem.ps1',
'.\src\cmdlets\Find-GraphType.ps1',
'.\src\cmdlets\Find-GraphPermission.ps1',
'.\src\cmdlets\Get-Graph.ps1',
'.\src\cmdlets\Get-GraphChildItem.ps1',
'.\src\cmdlets\Get-GraphItem.ps1',
'.\src\cmdlets\Get-GraphItemRelationship.ps1',
'.\src\cmdlets\Get-GraphItemUri.ps1',
'.\src\cmdlets\Get-GraphLastOutput.ps1',
'.\src\cmdlets\Get-GraphLocation.ps1',
'.\src\cmdlets\Get-GraphMember.ps1',
'.\src\cmdlets\Get-GraphMethod.ps1',
'.\src\cmdlets\Get-GraphRelatedItem.ps1',
'.\src\cmdlets\Get-GraphResourceWithMetadata.ps1',
'.\src\cmdlets\Get-GraphType.ps1',
'.\src\cmdlets\Get-GraphUri.ps1',
'.\src\cmdlets\Get-GraphUriInfo.ps1',
'.\src\cmdlets\Invoke-GraphMethod.ps1',
'.\src\cmdlets\Measure-Graph.ps1',
'.\src\cmdlets\New-Graph.ps1',
'.\src\cmdlets\New-GraphItem.ps1',
'.\src\cmdlets\New-GraphItemRelationship.ps1',
'.\src\cmdlets\New-GraphMethodParameterObject.ps1',
'.\src\cmdlets\New-GraphObject.ps1',
'.\src\cmdlets\Remove-Graph.ps1',
'.\src\cmdlets\Remove-GraphItem.ps1',
'.\src\cmdlets\Remove-GraphItemRelationship.ps1',
'.\src\cmdlets\Set-GraphItem.ps1',
'.\src\cmdlets\Set-GraphLocation.ps1',
'.\src\cmdlets\Set-GraphPrompt.ps1',
'.\src\cmdlets\Show-GraphHelp.ps1',
'.\src\cmdlets\Update-GraphMetadata.ps1',
'.\src\cmdlets\common\AutoGraphFormats.ps1xml',
'.\src\cmdlets\common\ContextHelper.ps1',
'.\src\cmdlets\common\FunctionParameterHelper.ps1',
'.\src\cmdlets\common\GraphParameterCompleter.ps1',
'.\src\cmdlets\common\GraphStatisticsDisplayType.ps1',
'.\src\cmdlets\common\GraphUriParameterCompleter.ps1',
'.\src\cmdlets\common\LocationHelper.ps1',
'.\src\cmdlets\common\MemberDisplayType.ps1',
'.\src\cmdlets\common\MemberParameterCompleter.ps1',
'.\src\cmdlets\common\MetaGraphFormatter.ps1',
'.\src\cmdlets\common\MethodDisplayType.ps1',
'.\src\cmdlets\common\MethodNameParameterCompleter.ps1',
'.\src\cmdlets\common\MethodParameterParameterCompleter.ps1',
'.\src\cmdlets\common\MethodUriParameterCompleter.ps1',
'.\src\cmdlets\common\PermissionHelper.ps1',
'.\src\cmdlets\common\QueryTranslationHelper.ps1',
'.\src\cmdlets\common\RelationshipDisplayType.ps1',
'.\src\cmdlets\common\TypeSearchResultDisplayType.ps1',
'.\src\cmdlets\common\RequestHelper.ps1',
'.\src\cmdlets\common\SegmentHelper.ps1',
'.\src\cmdlets\common\TypeHelper.ps1',
'.\src\cmdlets\common\TypeMemberFinder.ps1',
'.\src\cmdlets\common\TypeParameterCompleter.ps1',
'.\src\cmdlets\common\TypePropertyParameterCompleter.ps1',
'.\src\cmdlets\common\TypeUriHelper.ps1',
'.\src\cmdlets\common\TypeUriParameterCompleter.ps1',
'.\src\common\CustomFormats.ps1xml',
'.\src\common\CustomFormatter.ps1',
'.\src\common\GraphAccessDeniedException.ps1',
'.\src\common\PreferenceHelper.ps1',
'.\src\metadata\metadata.ps1',
'.\src\metadata\Entity.ps1',
'.\src\metadata\EntityEdge.ps1',
'.\src\metadata\EntityGraph.ps1',
'.\src\metadata\EntityVertex.ps1',
'.\src\metadata\GraphBuilder.ps1',
'.\src\metadata\GraphCache.ps1',
'.\src\metadata\GraphDataModel.ps1',
'.\src\metadata\GraphManager.ps1',
'.\src\metadata\GraphSegment.ps1',
'.\src\metadata\SegmentParser.ps1',
'.\src\metadata\QualifiedSchema.ps1',
'.\src\metadata\UriCache.ps1',
'.\src\typesystem\MethodInfo.ps1',
'.\src\typesystem\TypeIndex.ps1',
'.\src\typesystem\TypeIndexEntry.ps1',
'.\src\typesystem\TypeMember.ps1',
'.\src\typesystem\TypeSchema.ps1',
'.\src\typesystem\TypeDefinition.ps1',
'.\src\typesystem\TypeProvider.ps1',
'.\src\typesystem\TypeTable.ps1',
'.\src\typesystem\typesystem.ps1',
'.\src\typesystem\ScalarTypeProvider.ps1',
'.\src\typesystem\CompositeTypeProvider.ps1',
'.\src\typesystem\TypeManager.ps1',
'.\src\typesystem\TypeMatch.ps1',
'.\src\typesystem\TypeSearcher.ps1',
'.\src\typesystem\GraphObjectBuilder.ps1'
)
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
Tags = @('MSGraph', 'Graph', 'AADGraph', 'Azure', 'MicrosoftGraph', 'Microsoft-Graph', 'MS-Graph', 'AAD-Graph', 'Entra', 'GraphExplorer', 'REST', 'CRUD', 'GraphAPI', 'autograph', 'poshgraph', 'PSEdition_Core', 'PSEdition_Desktop', 'Windows', 'Linux', 'MacOS')
# A URL to the license for this module.
LicenseUri = 'http://www.apache.org/licenses/LICENSE-2.0'
# A URL to the main website for this project.
ProjectUri = 'https://github.com/adamedx/autographps'
# A URL to an icon representing this module.
IconUri = 'https://raw.githubusercontent.com/adamedx/poshgraph/main/assets/PoshGraphIcon.png'
# Adds pre-release to the patch version according to the conventions of https://semver.org/spec/v1.0.0.html
# Requires PowerShellGet 1.6.0 or greater
# Prerelease = '-preview'
# ReleaseNotes of this module
ReleaseNotes = @'
## AutoGraphPS 0.44.0 Release Notes
Update to new AutoGraphPS-SDK, MSAL, new app id, authentication broker improvements.
### New dependencies
* AutoGraphPS-SDK 0.32.0
* Microsoft.Identity.Client 4.66.1 -- i.e. MSAL
* New optional dependency Microsoft.Identity.Client.Broker 4.66.1 for authentication broker support (Windows only)
### Breaking changes
* New default app id (client id) for the module has been changed: A new application id, c98eb929-2053-4b03-b680-a5efcbd59035 is the default. This change is inherited from the updated AutoGraphPS-SDK module dependency.
### New features
* Authentication broker support -- use the `get-help` command with the `Connect-GraphApi` and `New-GraphConnection` commands for details on the `UseBroker` parameter supported by these commands (and associated settings configuration) from the AutoGraphPS-SDK dependency.
### Fixed defects
* Fixed metadata download deadlock impacting type-related commands like Get-GraphType, New-Graph, etc. due to a PowerShell Core bug in ThreadJob exposed by ScriptClass. The issue was a race condition most likely encountered in niche cases like using multiple graphs at once or running tests against the type commands. The fix was a workarond to avoid the condition. See this ScriptClass issue for more details: https://github.com/adamedx/scriptclass/issues/40.
* Replaced outdated references to Azure Active Directory / AAD with Entra ID
* See fixes in the updated version of AutoGraphPS-SDK
'@
} # End of PSData hashtable
} # End of PrivateData hashtable
# HelpInfo URI of this module
# HelpInfoURI = ''
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
}