src/aliases.ps1
# Copyright 2021, Adam Edwards # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Aliases that are similar to preexisting, well-known aliases -- # Prefix these with 'g' to emphasize their implied similarity set-alias gcd Set-GraphLocation set-alias ggci Get-GraphChildItem set-alias ggi Get-GraphItem set-alias ggm Get-GraphMember set-alias gls Get-GraphResourceWithMetadata set-alias gwd Get-GraphLocation set-alias gni New-GraphItem set-alias grm Remove-GraphItem set-alias gsi Set-GraphItem # These aliases don't correspond to any familiar aliases, so # just name them by abbreviation set-alias ggu Get-GraphUriInfo set-alias guri Get-GraphUri set-alias glo Get-GraphLastOutput set-alias gg Get-Graph set-alias ggrel Get-GraphItemRelationship set-alias gri Get-GraphRelatedItem set-alias ggmt Get-GraphMethod set-alias igm Invoke-GraphMethod set-alias ngo New-GraphObject set-alias ngp New-GraphMethodParameterObject |