We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c08d53f commit c448bdaCopy full SHA for c448bda
2 files changed
Tests/Integration/Source1/Private/Get-TestNotExportedAliases.ps1
@@ -0,0 +1,13 @@
1
+function Get-TestNotExportedAliases {
2
+ [CmdletBinding()]
3
+ param()
4
+
5
+ New-Alias -Name 'New-NotExportedAlias1' -Value 'Write-Verbose'
6
+ Set-Alias -Name 'New-NotExportedAlias2' -Value 'Write-Verbose'
7
+}
8
9
+New-Alias -Name 'New-NotExportedAlias3' -Value 'Write-Verbose' -Scope Global
10
+Set-Alias -Name 'New-NotExportedAlias4' -Value 'Write-Verbose' -Scope Global
11
12
+New-Alias -Name 'New-NotExportedAlias5' -Value 'Write-Verbose'
13
+Remove-Alias -Name 'New-NotExportedAlias5' -Value 'Write-Verbose'
Tests/Integration/Source1/Public/Get-MyAlias.ps1
@@ -0,0 +1 @@
+New-Alias -Name 'Get-MyAlias' -Value 'Get-ChildItem'
0 commit comments