Skip to content

Commit 0c75308

Browse files
author
msJinLei
committed
Microsoft.ApplicationInsights to 2.13.1
Revert the change of parameter `Repository`
1 parent 6b9a96f commit 0c75308

File tree

8 files changed

+16
-15
lines changed

8 files changed

+16
-15
lines changed

tools/Az.Tools.Installer/Az.Tools.Installer.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = @(
58-
'.\assembly\Microsoft.ApplicationInsights.2.21.0\Microsoft.ApplicationInsights.dll'
58+
'.\assembly\Microsoft.ApplicationInsights.2.13.1\Microsoft.ApplicationInsights.dll'
5959
)
6060

6161
# Script files (.ps1) that are run in the caller's environment prior to importing this module.

tools/Az.Tools.Installer/ChangeLog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
## Upcoming Release
2-
* Made `Repository` parameter mandatory for `Install-AzModule` and `Update-AzModule`
3-
* Updated telemetry assembly to 2.21.0
2+
* Updated telemetry assembly to 2.13.1
43
* Fixed typo in Az.Tools.Installer
54

65
## 0.2.0
76
* Az.Tools.Installer version 2 (#16321)
87

98
## 0.1.0
10-
* Initial release
9+
* Initial release

tools/Az.Tools.Installer/exports/Install-AzModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function Install-AzModule {
4141
[string]
4242
${RequiredAzVersion},
4343

44-
[Parameter(ParameterSetName = 'Default', Mandatory, HelpMessage = 'The Registered Repository. Example: PSGallery.')]
44+
[Parameter(ParameterSetName = 'Default', HelpMessage = 'The Registered Repository to install module from. If only one repository is registered in PowerShell, Install-AzModule will use it. If more than one, please specify the Repository.')]
4545
[ValidateNotNullOrEmpty()]
4646
[string]
4747
${Repository},

tools/Az.Tools.Installer/exports/Update-AzModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function Update-AzModule {
3232
[string[]]
3333
${Name},
3434

35-
[Parameter(Mandatory, HelpMessage = 'The Registered Repository. Example: PSGallery.')]
35+
[Parameter(HelpMessage = 'The Registered Repository to install module from. If only one repository is registered in PowerShell, Install-AzModule will use it. If more than one, please specify the Repository.')]
3636
[ValidateNotNullOrEmpty()]
3737
[string]
3838
${Repository},

tools/Az.Tools.Installer/help/Install-AzModule.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Install Azure PowerShell modules.
1414

1515
### Default (Default)
1616
```
17-
Install-AzModule [[-Name] <String[]>] [-RequiredAzVersion <String>] -Repository <String> [-AllowPrerelease]
17+
Install-AzModule [[-Name] <String[]>] [-RequiredAzVersion <String>] [-Repository <String>] [-AllowPrerelease]
1818
[-UseExactAccountVersion] [-Scope <String>] [-RemovePrevious] [-RemoveAzureRm] [-Force] [-WhatIf] [-Confirm]
1919
[<CommonParameters>]
2020
```
@@ -80,15 +80,16 @@ Accept wildcard characters: False
8080
```
8181
8282
### -Repository
83-
The Registered Repository.
84-
Example: PSGallery.
83+
The Registered Repository to install module from.
84+
If only one repository is registered in PowerShell, Install-AzModule will use it.
85+
If more than one, please specify the Repository.
8586
8687
```yaml
8788
Type: String
8889
Parameter Sets: Default
8990
Aliases:
9091

91-
Required: True
92+
Required: False
9293
Position: Named
9394
Default value: None
9495
Accept pipeline input: False

tools/Az.Tools.Installer/help/Update-AzModule.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Update Azure PowerShell modules.
1313
## SYNTAX
1414

1515
```
16-
Update-AzModule [[-Name] <String[]>] -Repository <String> [-Scope <String>] [-KeepPrevious] [-Force] [-WhatIf]
17-
[-Confirm] [<CommonParameters>]
16+
Update-AzModule [[-Name] <String[]>] [-Repository <String>] [-Scope <String>] [-KeepPrevious] [-Force]
17+
[-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -52,15 +52,16 @@ Accept wildcard characters: False
5252
```
5353
5454
### -Repository
55-
The Registered Repository.
56-
Example: PSGallery.
55+
The Registered Repository to install module from.
56+
If only one repository is registered in PowerShell, Install-AzModule will use it.
57+
If more than one, please specify the Repository.
5758
5859
```yaml
5960
Type: String
6061
Parameter Sets: (All)
6162
Aliases:
6263

63-
Required: True
64+
Required: False
6465
Position: Named
6566
Default value: None
6667
Accept pipeline input: False

0 commit comments

Comments
 (0)