Skip to content

Commit

Permalink
Merge pull request #443 from wastoresh/dev
Browse files Browse the repository at this point in the history
Add aliases to storage cmdlets in resource module
  • Loading branch information
ogail committed Jun 6, 2015
2 parents 571b6a9 + 88432d3 commit ef7bb2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ AliasesToExport = @(
'Get-AzureSqlDatabaseServerAuditingPolicy',
'Remove-AzureSqlDatabaseServerAuditing',
'Set-AzureSqlDatabaseServerAuditingPolicy',
'Use-AzureSqlDatabaseServerAuditingPolicy'
'Use-AzureSqlDatabaseServerAuditingPolicy',
'Get-AzureStorageContainerAcl',
'Start-CopyAzureStorageBlob',
'Stop-CopyAzureStorageBlob'
)

# List of all modules packaged with this module
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@
"Remove-AzureSqlDatabaseServerAuditing" = "Remove-AzureSqlServerAuditing";
"Set-AzureSqlDatabaseServerAuditingPolicy" = "Set-AzureSqlServerAuditingPolicy";
"Use-AzureSqlDatabaseServerAuditingPolicy" = "Use-AzureSqlServerAuditingPolicy";

# Storage aliases
"Get-AzureStorageContainerAcl" = "Get-AzureStorageContainer";
"Start-CopyAzureStorageBlob" = "Start-AzureStorageBlobCopy";
"Stop-CopyAzureStorageBlob" = "Stop-AzureStorageBlobCopy";
}.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias"

0 comments on commit ef7bb2a

Please sign in to comment.