Skip to content

Commit 82cfc0f

Browse files
committed
Name Change for Share cmdlet to remove duplicate
1 parent 26e2cb9 commit 82cfc0f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Infrastructure/AzureStack.Infra.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Export-ModuleMember -Function Get-AzsInfrastructureRoleInstance
118118
.SYNOPSIS
119119
List File Shares
120120
#>
121-
function Get-AzsStorageShare {
121+
function Get-AzsInfrastructureShare {
122122
Param(
123123
[Parameter(Mandatory = $false)]
124124
[string] $Location
@@ -130,7 +130,7 @@ function Get-AzsStorageShare {
130130
$shares
131131
}
132132

133-
Export-ModuleMember -Function Get-AzsStorageShare
133+
Export-ModuleMember -Function Get-AzsInfrastructureShare
134134

135135
<#
136136
.SYNOPSIS

Infrastructure/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add-AzureRMEnvironment -Name "AzureStackAdmin" -ArmEndpoint "https://adminmanage
2222
Then login:
2323

2424
```powershell
25-
Login-AzureRmAccount -EnvironmentName "AzureStackAdmin"
25+
Login-AzureRmAccount -EnvironmentName "AzureStackAdmin"
2626
```
2727
----
2828
If you are **not** using your home directory tenant, you will need to supply the tenant ID to your login command. You may find it easiest to obtain using the Connect tool. For **Azure Active Directory** environments provide your directory tenant name:
@@ -179,7 +179,7 @@ The command does the following:
179179

180180
```powershell
181181
182-
Get-AzsStorageShare
182+
Get-AzsInfrastructureShare
183183
```
184184

185185
The command does the following:

Infrastructure/Tests/Infra.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ InModuleScope $script:ModuleName {
5656
{ Get-AzsInfraRoleInstance } |
5757
Should Not Throw
5858
}
59-
It 'Get-AzsStorageShare should not throw' {
60-
{ Get-AzsStorageShare } |
59+
It 'Get-AzsInfrastructureShare should not throw' {
60+
{ Get-AzsInfrastructureShare } |
6161
Should Not Throw
6262
}
6363
It 'Get-Azslogicalnetwork should not throw' {

0 commit comments

Comments
 (0)