Skip to content

Commit

Permalink
Add aliases for renamed functions
Browse files Browse the repository at this point in the history
  • Loading branch information
God-damnit-all committed Dec 31, 2021
1 parent aa5fa61 commit 3851190
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion PSOneTools/2.4/Invoke-PSOneForeach.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
https://powershell.one/tricks/performance/pipeline
https://github.com/TobiasPSP/Modules.PSOneTools/blob/master/PSOneTools/1.2/Invoke-PSOneForeach.ps1
#>


# creates command shortcuts for the function
[Alias('ForEach-ObjectFast','ForEachObj')]

param
(
# executes for each pipeline element
Expand Down
3 changes: 3 additions & 0 deletions PSOneTools/2.4/Invoke-PSOneGroup.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
function Invoke-PSOneGroup
{
# creates command shortcuts for the function
[Alias('Group-ObjectFast','GroupObj')]

[CmdletBinding(DefaultParameterSetName='Analysis')]
param
(
Expand Down
2 changes: 2 additions & 0 deletions PSOneTools/2.4/Invoke-PSOneWhere.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
https://github.com/TobiasPSP/Modules.PSOneTools/blob/master/PSOneTools/1.2/Invoke-PSOneWhere.ps1
#>

# creates command shortcuts for the function
[Alias('Where-ObjectFast','WhereObj')]

param
(
Expand Down

0 comments on commit 3851190

Please sign in to comment.