File tree Expand file tree Collapse file tree 13 files changed +26
-130
lines changed
Azs.AzureBridge.Admin/Module/Azs.AzureBridge.Admin
Azs.Backup.Admin/Module/Azs.Backup.Admin
Azs.Commerce.Admin/Module/Azs.Commerce.Admin
Azs.Compute.Admin/Module/Azs.Compute.Admin
Azs.Fabric.Admin/Module/Azs.Fabric.Admin
Azs.Gallery.Admin/Module/Azs.Gallery.Admin
Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin
Azs.KeyVault.Admin/Module/Azs.KeyVault.Admin
Azs.Network.Admin/Module/Azs.Network.Admin
Azs.Storage.Admin/Module/Azs.Storage.Admin
Azs.Subscriptions.Admin/Module/Azs.Subscriptions.Admin
Azs.Subscriptions/Module/Azs.Subscriptions
Azs.Update.Admin/Module/Azs.Update.Admin Expand file tree Collapse file tree 13 files changed +26
-130
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Azurebridge.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Backup.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Commerce.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Compute.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Fabric.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Gallery.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Infrastructureinsights.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Keyvault.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Netowrk.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Storage.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Subscriptions.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Subscriptions loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
Original file line number Diff line number Diff line change @@ -7,16 +7,8 @@ Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
7
7
8
8
Write-Warning " Preview version of the module Azs.Update.Admin loaded. Future release of this module may have breaking changes."
9
9
10
- # If the user supplied -Prefix to Import-Module, that applies to the nested module as well
11
- # Force import the nested module again without -Prefix
12
- if (-not (Get-Command Get-OperatingSystemInfo - Module PSSwaggerUtility - ErrorAction Ignore)) {
13
- # Simply doing "Import-Module PSSwaggerUtility" doesn't work for local case
14
- if (Test-Path - Path (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility)) {
15
- Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
16
- } else {
17
- Import-Module PSSwaggerUtility - Force
18
- }
19
- }
10
+ # We always import embedded version.
11
+ Import-Module (Join-Path - Path $PSScriptRoot - ChildPath PSSwaggerUtility) - Force
20
12
21
13
if ((Get-OperatingSystemInfo ).IsCore) {
22
14
$clr = ' coreclr'
You can’t perform that action at this time.
0 commit comments