Skip to content

Commit cca624b

Browse files
committed
Update module manifest for cmdlet and function export
1 parent 5161a74 commit cca624b

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

tools/AzureRM.BootStrapper/AzureRM.BootStrapper.psd1

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 8/19/2016
6+
# Generated on: 3/10/2017
77
#
88

99
@{
@@ -48,7 +48,7 @@ DotNetFrameworkVersion = '4.5'
4848
CLRVersion = '4.0'
4949

5050
# Processor architecture (None, X86, Amd64) required by this module
51-
ProcessorArchitecture = 'None'
51+
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
5454
# RequiredModules = @()
@@ -69,10 +69,12 @@ ProcessorArchitecture = 'None'
6969
# NestedModules = @()
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72-
FunctionsToExport = @()
72+
FunctionsToExport = 'Set-BootstrapRepo'
7373

7474
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
75-
CmdletsToExport = @()
75+
CmdletsToExport = 'Update-AzureRmProfile', 'Uninstall-AzureRmProfile',
76+
'Install-AzureRmProfile', 'Use-AzureRmProfile', 'Get-AzureRmProfile',
77+
'Get-AzureRmModule'
7678

7779
# Variables to export from this module
7880
# VariablesToExport = @()
@@ -95,7 +97,7 @@ PrivateData = @{
9597
PSData = @{
9698

9799
# Tags applied to this module. These help with module discovery in online galleries.
98-
Tags = @('Azure', 'AzureRM', 'AzureStack', 'Profile', 'Resource Manager')
100+
Tags = 'Azure','AzureRM','AzureStack','Profile','Resource Manager'
99101

100102
# A URL to the license for this module.
101103
# LicenseUri = ''
@@ -113,8 +115,8 @@ PrivateData = @{
113115
# ExternalModuleDependencies = ''
114116

115117
} # End of PSData hashtable
116-
117-
} # End of PrivateData hashtable
118+
119+
} # End of PrivateData hashtable
118120

119121
# HelpInfo URI of this module
120122
# HelpInfoURI = ''

tools/AzureRM.BootStrapper/AzureRM.Bootstrapper.psm1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,3 +1084,6 @@ function Set-BootstrapRepo
10841084
param([string]$Repo)
10851085
$script:BootStrapRepo = $Repo
10861086
}
1087+
1088+
Export-ModuleMember -Function 'Set-BootstrapRepo'
1089+
Export-ModuleMember -Cmdlet 'Update-AzureRmProfile', 'Uninstall-AzureRmProfile', 'Install-AzureRmProfile', 'Use-AzureRmProfile', 'Get-AzureRmProfile', 'Get-AzureRmModule'

0 commit comments

Comments
 (0)