autographps
0.37.1
The friendly, scriptable Graph Explorer CLI for automating the Microsoft Graph
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2021 Adam Edwards.
Package Details
Author(s)
- Adam Edwards
Tags
MSGraph Graph AADGraph Azure MicrosoftGraph Microsoft-Graph MS-Graph AAD-Graph GraphExplorer REST CRUD GraphAPI autograph poshgraph Windows Linux MacOS
Functions
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
PSEditions
Dependencies
-
- autographps-sdk (>= 0.26.1)
- scriptclass (>= 0.20.2)
- ThreadJob (>= 2.0.3)
Release Notes
## AutoGraphPS 0.37.0 Release Notes
Bug fixes and updates to support profiles, color, and other usability improvements
### 0.37.1 update
* Update autographps-sdk to 0.26.1 to take fix at module update
### New dependencies
* `autographps-sdk 0.26.1`
### Breaking changes
* See breaking changes from `autographps-sdk 0.26.0`
* The `Get-GraphStatistics` command has been renamed to `Measure-Graph`
* When positional binding is used with the following commands, those positional parameters no long bind to the `Uri` parameter, but to the `Type` and then `Id`, `Property`, and `Value` parameters. To bind by URI, the `-Uri` parameter must be specified explicitly by name. This any use of these commands with positional binding will now break:
* `Get-GraphItem`
* `Set-GraphItem`
* `Remove-Graphitem`
* The pipeline parameter binding has been changed for `Get-GraphChildItem` and `Get-GraphResourceWithMetadata` (aka through the `gls` alias), though in general the binding is more permissive and may not break at all or may break in subtle ways
* The `ggreli` alias for `Get-GraphRelatedItem` is now `gri`
* The `Set-GraphPrompt` command no longer as the `Enabled` and `Disabled` parameters
* Instead, the new `Behavior` parameter which is also a positional parameter supports the values `Disable` and `Enable` which correspond to setting the `Disabled` and `Enabled` parameters of the previous version of this command. The default value is `Auto`, which allows the prompt behavior to be controlled by the module according to the current location managed by `Set-GraphLocation`.
### New features
* Configuration (enabled by autographps-sdk): the module now supports "Profile settings". It reads the file `~/.autographps/settings.json` on module load if it exists and sets behaviors including the initial connection according to the settings expressed in the configuration file
* The following settings specific to this module are now configurable from the `settings.json` file:
* `PromptBehavior`: Set this to the same values as the `Behavior` parameter of `Set-GraphPrompt` to control the behavior of the prompt
* `PromptColor`: Sets the color of the prompt -- supports the same values and behaviors as the `GraphPromptColorPreference` perference variable
* From autographps-sdk: The following commands related to the proflie settings feature have been added:
* `Get-GraphProfileSettings`
* `Select-GraphProfileSettings`
* `Get-GraphConnection`: enumerates 'named' connections created by `New-GraphConnection` or profile settings
* `Remove-GraphConnection`: remove named connections
* Many commands have improved terminal output formatting for both table and list formats
* Many commands, including common commands like `gls` now have color support!
* Output of `Get-GraphResourceWithMetadata` / `gls` can now be piped to `Get-GraphMember` and `Get-GraphType`.
* `Get-GraphResourceWithMetadata` / `gls` supports a `Count` parameter that returns just the count of items that would be returned
* New `Get-GraphLastOutput` command that returns the last results from previous commands and associates them with an index.
* The `Set-GraphLocation` command, aka `gcd` supports a new `Index` parameter that refers to the item with that index returned by `Get-GraphLastOutput`; by specifying this index, the command can change the current location to the location of the result with that index. This is useful for
* The `guri` alias has been added for `Get-GraphUri`
* The output of `Get-GraphMember`, `Get-GraphType`, and `Get-GraphMethod` is now grouped
* Fix broken `Members` value for the `Criteria` parameter of `Find-GraphType`
### Fixed defects
* Fixed some crashes caused by namespace aliases
* Fixed issues handling times with the `Get-Graph` command
* Fixed invalid return types for non-entity types for actions and functions
FileList
- autographps.nuspec
- autographps.psd1
- autographps.psm1
- src\aliases.ps1
- src\cmdlets.ps1
- src\formats.ps1
- src\graph.ps1
- src\settings.ps1
- src\client\GraphLocalSettings.ps1
- src\client\LocationContext.ps1
- src\cmdlets\Add-GraphRelatedItem.ps1
- src\cmdlets\Find-GraphPermission.ps1
- src\cmdlets\Find-GraphType.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\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\TypeSearchResultDisplayType.ps1
- src\cmdlets\common\TypeUriHelper.ps1
- src\cmdlets\common\TypeUriParameterCompleter.ps1
- src\common\GraphAccessDeniedException.ps1
- src\common\PreferenceHelper.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\metadata.ps1
- src\metadata\QualifiedSchema.ps1
- src\metadata\SegmentParser.ps1
- src\metadata\UriCache.ps1
- src\typesystem\CompositeTypeProvider.ps1
- src\typesystem\GraphObjectBuilder.ps1
- src\typesystem\MethodInfo.ps1
- src\typesystem\ScalarTypeProvider.ps1
- src\typesystem\TypeDefinition.ps1
- src\typesystem\TypeIndex.ps1
- src\typesystem\TypeIndexEntry.ps1
- src\typesystem\TypeManager.ps1
- src\typesystem\TypeMatch.ps1
- src\typesystem\TypeMember.ps1
- src\typesystem\TypeProvider.ps1
- src\typesystem\TypeSchema.ps1
- src\typesystem\TypeSearcher.ps1
- src\typesystem\typesystem.ps1
- src\typesystem\TypeTable.ps1
- lib\_._
Version History
Version | Downloads | Last updated |
---|---|---|
0.44.0 | 467 | 11/11/2024 |
0.43.0 | 26 | 9/5/2024 |
0.42.0 | 372 | 2/19/2023 |
0.41.0 | 378 | 12/30/2021 |
0.40.0 | 265 | 10/26/2021 |
0.39.0 | 222 | 10/20/2021 |
0.38.0 | 295 | 6/14/2021 |
0.37.1 (current version) | 240 | 5/5/2021 |
0.37.0 | 222 | 5/5/2021 |
0.36.0 | 241 | 2/27/2021 |
0.35.0 | 257 | 9/26/2020 |
0.34.0 | 215 | 9/26/2020 |
0.33.0 | 215 | 9/26/2020 |
0.32.1 | 260 | 6/20/2020 |
0.32.0 | 229 | 5/24/2020 |
0.31.0 | 259 | 2/4/2020 |
0.30.0 | 224 | 2/1/2020 |
0.29.0 | 295 | 11/6/2019 |
0.28.0 | 238 | 10/24/2019 |
0.27.0 | 222 | 10/23/2019 |
0.26.0 | 231 | 10/16/2019 |
0.25.0 | 226 | 10/7/2019 |
0.24.0 | 224 | 9/24/2019 |
0.23.0 | 314 | 3/18/2019 |
0.22.0 | 266 | 2/3/2019 |
0.21.1 | 236 | 1/19/2019 |
0.21.0 | 232 | 1/14/2019 |
0.20.0 | 234 | 1/8/2019 |
0.19.0 | 230 | 1/7/2019 |
0.18.2 | 228 | 1/6/2019 |
0.18.1 | 228 | 1/5/2019 |
0.18.0 | 229 | 1/4/2019 |
0.17.0 | 231 | 1/2/2019 |
0.16.1 | 253 | 10/30/2018 |
0.16.0 | 239 | 10/15/2018 |
0.15.1 | 235 | 9/30/2018 |
0.15.0 | 230 | 9/24/2018 |
0.14.0 | 233 | 9/16/2018 |