Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy about_az.help.txt into en-US culture folder (#16473)
* add about_az.help.txt into en-US culture folder * polish doc
- Loading branch information
1 parent
2b57afb
commit 6b49b2c
Showing
8 changed files
with
153 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
About topic for Azure PowerShell - about_az | ||
|
||
TOPIC | ||
|
||
about_Az | ||
|
||
SHORT DESCRIPTION | ||
|
||
The Azure Az PowerShell module is a set of cmdlets for managing Azure | ||
resources directly from the PowerShell command line and in PowerShell | ||
scripts. | ||
|
||
LONG DESCRIPTION | ||
|
||
Azure PowerShell provides cross-platform cmdlets for managing Azure | ||
services. All Azure PowerShell cmdlets work on Windows PowerShell 5.1 and | ||
supported versions of PowerShell 7. | ||
|
||
The Azure PowerShell cmdlets follow the naming convention {verb}-Az{noun}. | ||
|
||
- {verb} is an approved PowerShell verb reflecting the corresponding HTTP | ||
operation. | ||
|
||
- {noun} matches or has a close equivalent to the name of the resource. | ||
|
||
The cmdlets produce .NET objects that can be piped between commands | ||
simplifying the sequencing of commands making Azure PowerShell a powerful | ||
solution for scripting and automation purposes. | ||
|
||
A PowerShell module is available for each Azure service. For convenience, | ||
we provide a wrapper module named "Az" that comprises the stable modules. | ||
Modules in preview must be installed independently or via the "AzPreview" | ||
wrapper module. | ||
|
||
Azure PowerShell is frequently updated to include bug fixes and service | ||
updates. It is recommended to plan to update to the most recent version | ||
regularly (a minimum of twice a year). | ||
|
||
GETTING STARTED | ||
|
||
1. Connect to Azure using Connect-AzAccount | ||
|
||
2. Run your first command. For example, create a resource group in the | ||
east US region. | ||
|
||
New-AzResourceGroup -Name "MyResoureGroup" -location "eastus" | ||
|
||
SEE ALSO | ||
|
||
Azure PowerShell documentation: https://docs.microsoft.com/powershell/azure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# About topic for Azure PowerShell - about_az | ||
|
||
## TOPIC | ||
|
||
about_Az | ||
|
||
## SHORT DESCRIPTION | ||
|
||
The Azure Az PowerShell module is a set of cmdlets for managing Azure | ||
resources directly from the PowerShell command line and in PowerShell | ||
scripts. | ||
|
||
## LONG DESCRIPTION | ||
|
||
Azure PowerShell provides cross-platform cmdlets for managing Azure | ||
services. All Azure PowerShell cmdlets work on Windows PowerShell 5.1 | ||
and supported versions of PowerShell 7. | ||
|
||
The Azure PowerShell cmdlets follow the naming convention | ||
{verb}-Az{noun}. | ||
|
||
- {verb} is an approved PowerShell verb reflecting the corresponding | ||
HTTP operation. | ||
|
||
- {noun} matches or has a close equivalent to the name of the | ||
resource. | ||
|
||
The cmdlets produce .NET objects that can be piped between commands | ||
simplifying the sequencing of commands making Azure PowerShell a | ||
powerful solution for scripting and automation purposes. | ||
|
||
A PowerShell module is available for each Azure service. For | ||
convenience, we provide a wrapper module named "Az" that comprises the | ||
stable modules. Modules in preview must be installed independently or | ||
via the "AzPreview" wrapper module. | ||
|
||
Azure PowerShell is frequently updated to include bug fixes and service | ||
updates. It is recommended to plan to update to the most recent version | ||
regularly (a minimum of twice a year). | ||
|
||
## GETTING STARTED | ||
|
||
1. Connect to Azure using `Connect-AzAccount` | ||
|
||
2. Run your first command. For example, create a resource group in the | ||
east US region. | ||
```powershell | ||
New-AzResourceGroup -Name "MyResoureGroup" -location "eastus" | ||
``` | ||
## SEE ALSO | ||
Azure PowerShell documentation: | ||
https://docs.microsoft.com/powershell/azure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[CmdletBinding()] | ||
Param( | ||
[Parameter()] | ||
[string]$BuildConfig = "Release" | ||
) | ||
|
||
function CopyAboutTopicsToCultureFolder { | ||
param ( | ||
[Parameter(Mandatory = $true, Position = 0)] | ||
[string]$AboutFolder, | ||
[Parameter(Mandatory = $true, Position = 1)] | ||
[string]$CultureFolder | ||
) | ||
Write-Host "Copying about-documents from $AboutFolder to $CultureFolder" | ||
Get-ChildItem -Filter *.help.txt -Path $AboutFolder | Copy-Item -Destination $CultureFolder | ||
} | ||
|
||
.($PSScriptRoot + "\..\PreloadToolDll.ps1") | ||
$AboutFolders = Get-ChildItem -Include 'About' -Path "$PSScriptRoot\..\..\artifacts\$BuildConfig" -Recurse -Directory | where { -not [Tools.Common.Utilities.ModuleFilter]::IsAzureStackModule($_.FullName) } | ||
|
||
foreach ($AboutFolder in $AboutFolders) | ||
{ | ||
$ModuleFolder = $AboutFolder.Parent.Parent.FullName | ||
$CultureFolder = Join-Path -Path $ModuleFolder -ChildPath "en-US" | ||
New-Item -ItemType "directory" -Path $CultureFolder -Force | ||
CopyAboutTopicsToCultureFolder $AboutFolder $CultureFolder | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$aboutFileInputFullName = "C:\Azure\azure-powershell\src\Accounts\Accounts\help\About\about_az.md" | ||
$aboutFileOutputFullName = "C:\Azure\azure-powershell\src\Accounts\Accounts\help\About\about_az.help.txt" | ||
|
||
$pandocArgs = @( | ||
"--from=gfm", | ||
"--to=plain+multiline_tables", | ||
"--columns=75", | ||
"--output=$aboutFileOutputFullName", | ||
"--quiet" | ||
) | ||
|
||
Get-Content $aboutFileInputFullName | pandoc $pandocArgs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters