Skip to content

Commit ce3e273

Browse files
Add aliases for renamed functions
1 parent 8507187 commit ce3e273

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

PSOneTools/2.4/Invoke-PSOneForeach.ps1

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@
4646
https://powershell.one/tricks/performance/pipeline
4747
https://github.com/TobiasPSP/Modules.PSOneTools/blob/master/PSOneTools/1.2/Invoke-PSOneForeach.ps1
4848
#>
49-
49+
50+
# creates command shortcuts for the function
51+
[Alias('ForEach-ObjectFast','ForEachObj')]
52+
5053
param
5154
(
5255
# executes for each pipeline element

PSOneTools/2.4/Invoke-PSOneGroup.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
function Invoke-PSOneGroup
22
{
3+
# creates command shortcuts for the function
4+
[Alias('Group-ObjectFast','GroupObj')]
35
[CmdletBinding(DefaultParameterSetName='Analysis')]
46
param
57
(

PSOneTools/2.4/Invoke-PSOneWhere.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
https://github.com/TobiasPSP/Modules.PSOneTools/blob/master/PSOneTools/1.2/Invoke-PSOneWhere.ps1
4949
#>
5050

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

5254
param
5355
(

0 commit comments

Comments
 (0)