Skip to content

Commit cb5dd6f

Browse files
committed
Added command to import snippets to Start-AzureRm
1 parent b0df3f0 commit cb5dd6f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

AzureExt.psm1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ foreach ($FormatFile in $FormatFileList) {
5757
Update-FormatData -PrependPath $FormatFile.FullName;
5858
Write-Verbose -Message ('Added format file: {0}' -f $FormatFile.Name);
5959
}
60-
#endregion
60+
#endregion
61+

Functions/Public/Start-AzureRm.ps1

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ function Start-AzureRm {
2323
$AzureProfile = Add-AzureRmAccount -Credential (Get-Credential);
2424
Save-AzureRmProfile -Path $script:AzureProfilePath -Profile $AzureProfile;
2525
}
26-
27-
### Load the Azure PowerShell Extensions, if available
28-
if (Get-Module -ListAvailable -Name AzureExt) {
29-
Import-Module -Name AzureExt;
30-
}
26+
27+
Import-IseSnippet -Module AzureExt;
3128
}

0 commit comments

Comments
 (0)