Skip to content

Commit 59e9ae6

Browse files
authored
Merge pull request #10867 from panchagnula/sisirap-setAzWebAppUpdates
webapp: Adding support for MinTls, AlwaysOn, FtpsState properties for an app & slot
2 parents 580aa8c + 197ea13 commit 59e9ae6

File tree

13 files changed

+6934
-4638
lines changed

13 files changed

+6934
-4638
lines changed

src/Websites/Websites.Test/ScenarioTests/WebAppSlotTests.ps1

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,20 +438,24 @@ function Test-SetWebAppSlot
438438
Assert-AreEqual $appWithSlotName $slot.Name
439439
Assert-AreEqual $serverFarm1.Id $slot.ServerFarmId
440440
Assert-Null $webApp.Identity
441+
Assert-AreEqual "AllAllowed" $slot.SiteConfig.FtpsState
441442

442-
# Change service plan & set properties
443-
$job = Set-AzWebAppSlot -ResourceGroupName $rgname -Name $appname -Slot $slotname -AppServicePlan $planName2 -HttpsOnly $true -AsJob
443+
# Change service plan & set site and SiteConfig properties
444+
$job = Set-AzWebAppSlot -ResourceGroupName $rgname -Name $appname -Slot $slotname -AppServicePlan $planName2 -HttpsOnly $true -AlwaysOn $true -AsJob
444445
$job | Wait-Job
445446
$slot = $job | Receive-Job
446447

447448
# Assert
448449
Assert-AreEqual $appWithSlotName $slot.Name
449450
Assert-AreEqual $serverFarm2.Id $slot.ServerFarmId
450451
Assert-AreEqual $true $slot.HttpsOnly
452+
Assert-AreEqual $true $slot.SiteConfig.AlwaysOn
451453

452454
# Set config properties
453455
$slot.SiteConfig.HttpLoggingEnabled = $true
454456
$slot.SiteConfig.RequestTracingEnabled = $true
457+
$slot.SiteConfig.FtpsState = "FtpsOnly"
458+
$slot.SiteConfig.MinTlsVersion = "1.0"
455459

456460
$slot = $slot | Set-AzWebAppSlot
457461

@@ -460,16 +464,19 @@ function Test-SetWebAppSlot
460464
Assert-AreEqual $serverFarm2.Id $slot.ServerFarmId
461465
Assert-AreEqual $true $slot.SiteConfig.HttpLoggingEnabled
462466
Assert-AreEqual $true $slot.SiteConfig.RequestTracingEnabled
467+
Assert-AreEqual "FtpsOnly" $slot.SiteConfig.FtpsState
468+
Assert-AreEqual "1.0" $slot.SiteConfig.MinTlsVersion
463469

464470
# set app settings and connection strings
465471
$appSettings = @{ "setting1" = "valueA"; "setting2" = "valueB"}
466472
$connectionStrings = @{ connstring1 = @{ Type="MySql"; Value="string value 1"}; connstring2 = @{ Type = "SQLAzure"; Value="string value 2"}}
467473

468-
$slot = Set-AzWebAppSlot -ResourceGroupName $rgname -Name $appname -Slot $slotname -AppSettings $appSettings -AssignIdentity $true
474+
$slot = Set-AzWebAppSlot -ResourceGroupName $rgname -Name $appname -Slot $slotname -AppSettings $appSettings -AssignIdentity $true -MinTlsVersion "1.2"
469475

470476
# Assert
471477
Assert-NotNull $slot.Identity
472478
Assert-AreEqual ($appSettings.Keys.Count) $slot.SiteConfig.AppSettings.Count
479+
Assert-AreEqual "1.0" $slot.SiteConfig.MinTlsVersion
473480

474481
$slot = Set-AzWebAppSlot -ResourceGroupName $rgname -Name $appname -Slot $slotname -AppSettings $appSettings -ConnectionStrings $connectionStrings -numberofworkers $numberOfWorkers
475482

@@ -853,13 +860,13 @@ function Test-SetAzureStorageWebAppHyperVSlot
853860
$azureStorageAccountName1 = "myaccountname.file.core.windows.net"
854861
$azureStorageAccountShareName1 = "myremoteshare"
855862
$azureStorageAccountAccessKey1 = "AnAccessKey"
856-
$azureStorageAccountMountPath1 = "C:\mymountpath"
863+
$azureStorageAccountMountPath1 = "\mymountpath"
857864
$azureStorageAccountCustomId2 = "mystorageaccount2"
858865
$azureStorageAccountType2 = "AzureFiles"
859866
$azureStorageAccountName2 = "myaccountname2.file.core.windows.net"
860867
$azureStorageAccountShareName2 = "myremoteshare2"
861868
$azureStorageAccountAccessKey2 = "AnAccessKey2"
862-
$azureStorageAccountMountPath2 = "C:\mymountpath2"
869+
$azureStorageAccountMountPath2 = "\mymountpath2"
863870

864871
try
865872
{

src/Websites/Websites.Test/ScenarioTests/WebAppTests.ps1

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -914,13 +914,13 @@ function Test-SetAzureStorageWebAppHyperV
914914
$azureStorageAccountName1 = "myaccountname.file.core.windows.net"
915915
$azureStorageAccountShareName1 = "myremoteshare"
916916
$azureStorageAccountAccessKey1 = "AnAccessKey"
917-
$azureStorageAccountMountPath1 = "C:\mymountpath"
917+
$azureStorageAccountMountPath1 = "\mymountpath"
918918
$azureStorageAccountCustomId2 = "mystorageaccount2"
919919
$azureStorageAccountType2 = "AzureFiles"
920920
$azureStorageAccountName2 = "myaccountname2.file.core.windows.net"
921921
$azureStorageAccountShareName2 = "myremoteshare2"
922922
$azureStorageAccountAccessKey2 = "AnAccessKey2"
923-
$azureStorageAccountMountPath2 = "C:\mymountpath2"
923+
$azureStorageAccountMountPath2 = "\mymountpath2"
924924

925925
try
926926
{
@@ -1090,9 +1090,11 @@ function Test-SetWebApp
10901090
Assert-AreEqual $serverFarm1.Id $webApp.ServerFarmId
10911091
Assert-Null $webApp.Identity
10921092
Assert-NotNull $webApp.SiteConfig.phpVersion
1093+
Assert-AreEqual $false $webApp.HttpsOnly
1094+
Assert-AreEqual "AllAllowed" $webApp.SiteConfig.FtpsState
10931095

10941096
# Change service plan & set site properties
1095-
$job = Set-AzWebApp -ResourceGroupName $rgname -Name $webAppName -AppServicePlan $appServicePlanName2 -HttpsOnly $true -AsJob
1097+
$job = Set-AzWebApp -ResourceGroupName $rgname -Name $webAppName -AppServicePlan $appServicePlanName2 -HttpsOnly $true -AlwaysOn $false -AsJob
10961098
$job | Wait-Job
10971099
$webApp = $job | Receive-Job
10981100

@@ -1102,10 +1104,13 @@ function Test-SetWebApp
11021104
Assert-AreEqual $webAppName $webApp.Name
11031105
Assert-AreEqual $serverFarm2.Id $webApp.ServerFarmId
11041106
Assert-AreEqual $true $webApp.HttpsOnly
1107+
Assert-AreEqual $false $webapp.SiteConfig.AlwaysOn
11051108

11061109
# Set config properties
11071110
$webapp.SiteConfig.HttpLoggingEnabled = $true
11081111
$webapp.SiteConfig.RequestTracingEnabled = $true
1112+
$webapp.SiteConfig.FtpsState = "FtpsOnly"
1113+
$webApp.SiteConfig.MinTlsVersion = "1.0"
11091114

11101115
# Set site properties
11111116
$webApp = $webApp | Set-AzWebApp
@@ -1117,18 +1122,22 @@ function Test-SetWebApp
11171122
Assert-AreEqual $serverFarm2.Id $webApp.ServerFarmId
11181123
Assert-AreEqual $true $webApp.SiteConfig.HttpLoggingEnabled
11191124
Assert-AreEqual $true $webApp.SiteConfig.RequestTracingEnabled
1120-
1125+
Assert-AreEqual $false $webApp.SiteConfig.AlwaysOn
1126+
Assert-AreEqual "FtpsOnly" $webApp.SiteConfig.FtpsState
1127+
Assert-AreEqual "1.0" $webApp.SiteConfig.MinTlsVersion
1128+
11211129
$appSettings = @{ "setting1" = "valueA"; "setting2" = "valueB"}
11221130
$connectionStrings = @{ connstring1 = @{ Type="MySql"; Value="string value 1"}; connstring2 = @{ Type = "SQLAzure"; Value="string value 2"}}
11231131

11241132
# set app settings and assign Identity
1125-
$webApp = Set-AzWebApp -ResourceGroupName $rgname -Name $webAppName -AppSettings $appSettings -AssignIdentity $true
1133+
$webApp = Set-AzWebApp -ResourceGroupName $rgname -Name $webAppName -AppSettings $appSettings -AssignIdentity $true -MinTlsVersion "1.2"
11261134

11271135
# Assert
11281136
Assert-NotNull $webApp.Identity
11291137
# AssignIdentity adds an appsetting to handle enabling / disabling AssignIdentity
11301138
Assert-AreEqual ($appSettings.Keys.Count) $webApp.SiteConfig.AppSettings.Count
11311139
Assert-NotNull $webApp.Identity
1140+
Assert-AreEqual "1.2" $webApp.SiteConfig.MinTlsVersion
11321141

11331142
# set app settings and connection strings
11341143
$webApp = Set-AzWebApp -ResourceGroupName $rgname -Name $webAppName -AppSettings $appSettings -ConnectionStrings $connectionStrings -NumberofWorkers $capacity -PhpVersion "off"
@@ -1148,6 +1157,7 @@ function Test-SetWebApp
11481157

11491158
Assert-AreEqual $capacity $webApp.SiteConfig.NumberOfWorkers
11501159
Assert-AreEqual "" $webApp.SiteConfig.PhpVersion
1160+
Assert-AreEqual "1.2" $webApp.SiteConfig.MinTlsVersion
11511161

11521162
}
11531163
finally

src/Websites/Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppSlotTests/TestSetAzureStorageWebAppHyperVSlot.json

Lines changed: 718 additions & 661 deletions
Large diffs are not rendered by default.

src/Websites/Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppSlotTests/TestSetWebAppSlot.json

Lines changed: 1939 additions & 1300 deletions
Large diffs are not rendered by default.

src/Websites/Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppTests/TestSetAzureStorageWebAppHyperV.json

Lines changed: 626 additions & 569 deletions
Large diffs are not rendered by default.

src/Websites/Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppTests/TestSetWebApp.json

Lines changed: 1847 additions & 1151 deletions
Large diffs are not rendered by default.

src/Websites/Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppTests/TestTagsNotRemovedBySetWebApp.json

Lines changed: 1622 additions & 926 deletions
Large diffs are not rendered by default.

src/Websites/Websites/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Set-AzWebapp and Set-AzWebappSlot supports AlwaysOn, MinTls and FtpsState properties
22+
* Fixing issue where setting HttpsOnly along with changing AppservicePlan at the same time using the single Set-AzWebApp Command, was resetting HttpsOnly to default value
2123

2224
## Version 1.5.1
2325
* Update references in .psd1 to use relative path

src/Websites/Websites/Cmdlets/DeploymentSlots/SetAzureWebAppSlot.cs

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,17 @@ public class SetAzureWebAppSlotCmdlet : WebAppSlotBaseCmdlet
122122
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "Azure Storage to mount inside a Web App for Container. Use New-AzWebAppAzureStoragePath to create it")]
123123
public WebAppAzureStoragePath[] AzureStoragePath { get; set; }
124124

125+
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "Ensure web app gets loaded all the time, rather unloaded after been idle.")]
126+
public bool AlwaysOn { get; set; }
127+
128+
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "The minimum version of TLS required for SSL requests. Allowed Values [1.0 | 1.1 | 1.2].")]
129+
[ValidateSet("1.0", "1.1", "1.2")]
130+
public string MinTlsVersion { get; set; }
131+
132+
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "Set the Ftps state value for an app. Allowed Values [AllAllowed | Disabled | FtpsOnly].")]
133+
[ValidateSet("AllAllowed", "Disabled", "FtpsOnly")]
134+
public string FtpsState { get; set; }
135+
125136

126137
public override void ExecuteCmdlet()
127138
{
@@ -137,6 +148,14 @@ public override void ExecuteCmdlet()
137148
location = WebApp.Location;
138149
tags = WebApp.Tags;
139150
var parameters = new HashSet<string>(MyInvocation.BoundParameters.Keys, StringComparer.OrdinalIgnoreCase);
151+
152+
// Perform the AppServicePlan update before updating site or config properties
153+
if (parameters.Contains("AppServicePlan"))
154+
{
155+
WebApp.AzureStoragePath = null; // the API to update site Object doesn't have the AzureStorage Path property
156+
WebsitesClient.UpdateWebApp(ResourceGroupName, location, Name, Slot, AppServicePlan, WebApp);
157+
}
158+
140159
if (parameters.Any(p => CmdletHelpers.SiteConfigParameters.Contains(p)))
141160
{
142161
siteConfig = new SiteConfig
@@ -158,7 +177,8 @@ public override void ExecuteCmdlet()
158177
Use32BitWorkerProcess =
159178
parameters.Contains("Use32BitWorkerProcess") ? (bool?)Use32BitWorkerProcess : null,
160179
AutoSwapSlotName = parameters.Contains("AutoSwapSlotName") ? AutoSwapSlotName : null,
161-
NumberOfWorkers = parameters.Contains("NumberOfWorkers") ? NumberOfWorkers : WebApp.SiteConfig.NumberOfWorkers
180+
NumberOfWorkers = parameters.Contains("NumberOfWorkers") ? NumberOfWorkers : WebApp.SiteConfig.NumberOfWorkers,
181+
AlwaysOn = parameters.Contains("AlwaysOn") ? (bool)AlwaysOn : false
162182
};
163183
}
164184

@@ -236,12 +256,9 @@ public override void ExecuteCmdlet()
236256
};
237257

238258
WebsitesClient.UpdateWebApp(ResourceGroupName, location, Name, Slot, WebApp.ServerFarmId, new PSSite(site));
239-
}
240-
241-
if (parameters.Contains("AppServicePlan"))
242-
{
243-
WebApp.AzureStoragePath = null; // the API to update site Object doesn't have the AzureStorage Path property
244-
WebsitesClient.UpdateWebApp(ResourceGroupName, location, Name, Slot, AppServicePlan, WebApp);
259+
260+
//Update WebApp object after site update
261+
WebApp = new PSSite(WebsitesClient.GetWebApp(ResourceGroupName, Name, null));
245262
}
246263

247264
break;

src/Websites/Websites/Cmdlets/WebApps/SetAzureWebApp.cs

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,18 @@ public class SetAzureWebAppCmdlet : WebAppBaseCmdlet
130130
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "Azure Storage to mount inside a Web App for Container. Use New-AzWebAppAzureStoragePath to create it")]
131131
public WebAppAzureStoragePath[] AzureStoragePath { get; set; }
132132

133+
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "Ensure web app gets loaded all the time, rather unloaded after been idle.")]
134+
public bool AlwaysOn { get; set; }
135+
136+
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "The minimum version of TLS required for SSL requests. Allowed Values [1.0 | 1.1 | 1.2].")]
137+
[ValidateSet("1.0", "1.1", "1.2")]
138+
public string MinTlsVersion { get; set; }
139+
140+
[Parameter(ParameterSetName = ParameterSet1Name, Mandatory = false, HelpMessage = "Set the Ftps state value for an app. Allowed Values [AllAllowed | Disabled | FtpsOnly].")]
141+
[ValidateSet("AllAllowed", "Disabled", "FtpsOnly")]
142+
public string FtpsState { get; set; }
143+
144+
133145
public override void ExecuteCmdlet()
134146
{
135147
base.ExecuteCmdlet();
@@ -144,6 +156,13 @@ public override void ExecuteCmdlet()
144156
location = WebApp.Location;
145157
tags = WebApp.Tags;
146158
var parameters = new HashSet<string>(MyInvocation.BoundParameters.Keys, StringComparer.OrdinalIgnoreCase);
159+
if (parameters.Contains("AppServicePlan"))
160+
{
161+
// AzureStorage path is not a part of the back end siteObject, but if the PSSite Object is given as an input, so simply set this to null
162+
WebApp.AzureStoragePath = null;
163+
WebsitesClient.UpdateWebApp(ResourceGroupName, location, Name, null, AppServicePlan, WebApp);
164+
}
165+
147166
if (parameters.Any(p => CmdletHelpers.SiteConfigParameters.Contains(p)))
148167
{
149168
siteConfig = new SiteConfig
@@ -165,7 +184,10 @@ public override void ExecuteCmdlet()
165184
Use32BitWorkerProcess =
166185
parameters.Contains("Use32BitWorkerProcess") ? (bool?)Use32BitWorkerProcess : null,
167186
AutoSwapSlotName = parameters.Contains("AutoSwapSlotName") ? AutoSwapSlotName : null,
168-
NumberOfWorkers = parameters.Contains("NumberOfWorkers") ? NumberOfWorkers : WebApp.SiteConfig.NumberOfWorkers
187+
NumberOfWorkers = parameters.Contains("NumberOfWorkers") ? NumberOfWorkers : WebApp.SiteConfig.NumberOfWorkers,
188+
AlwaysOn = parameters.Contains("AlwaysOn") ? (bool?)AlwaysOn : null,
189+
MinTlsVersion = parameters.Contains("MinTlsVersion") ? MinTlsVersion : WebApp.SiteConfig.MinTlsVersion,
190+
FtpsState = parameters.Contains("FtpsState") ? FtpsState: WebApp.SiteConfig.FtpsState
169191
};
170192
}
171193

@@ -241,16 +263,14 @@ public override void ExecuteCmdlet()
241263
ServerFarmId = WebApp.ServerFarmId,
242264
Identity = parameters.Contains("AssignIdentity") ? AssignIdentity ? new ManagedServiceIdentity("SystemAssigned", null, null) : new ManagedServiceIdentity("None", null, null) : WebApp.Identity,
243265
HttpsOnly = parameters.Contains("HttpsOnly") ? HttpsOnly : WebApp.HttpsOnly
266+
244267
};
245268

246269
WebsitesClient.UpdateWebApp(ResourceGroupName, location, Name, null, WebApp.ServerFarmId, new PSSite(site));
247-
}
248270

249-
if (parameters.Contains("AppServicePlan"))
250-
{
251-
// AzureStorage path is not a part of the back end siteObject, but if the PSSite Object is given as an input, so simply set this to null
252-
WebApp.AzureStoragePath = null;
253-
WebsitesClient.UpdateWebApp(ResourceGroupName, location, Name, null, AppServicePlan, WebApp);
271+
//Update WebApp object after site update
272+
WebApp = new PSSite(WebsitesClient.GetWebApp(ResourceGroupName, Name, null));
273+
254274
}
255275

256276
if (parameters.Contains("HostNames"))

src/Websites/Websites/Utilities/CmdletHelpers.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ public static class CmdletHelpers
2929
"WebSocketsEnabled",
3030
"Use32BitWorkerProcess",
3131
"AutoSwapSlotName",
32-
"NumberOfWorkers"
32+
"NumberOfWorkers",
33+
"AlwaysOn",
34+
"MinTlsVersion",
35+
"FtpsState"
3336
};
3437

3538
public static HashSet<string> SiteParameters = new HashSet<string>

src/Websites/Websites/help/Set-AzWebApp.md

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.Websites.dll-Help.xml
33
Module Name: Az.Websites
44
ms.assetid: 4166119F-D26A-45A1-B040-D7B2459833D6
@@ -24,7 +24,8 @@ Set-AzWebApp [[-AppServicePlan] <String>] [[-DefaultDocuments] <String[]>] [[-Ne
2424
[-ContainerRegistryUser <String>] [-ContainerRegistryPassword <SecureString>]
2525
[-EnableContainerContinuousDeployment <Boolean>] [-HostNames <String[]>] [-NumberOfWorkers <Int32>] [-AsJob]
2626
[-AssignIdentity <Boolean>] [-HttpsOnly <Boolean>] [-AzureStoragePath <WebAppAzureStoragePath[]>]
27-
[-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
27+
[-AlwaysOn <Boolean>] [-MinTlsVersion <String>] [-FtpsState <String>] [-ResourceGroupName] <String>
28+
[-Name] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2829
```
2930

3031
### S2
@@ -55,6 +56,21 @@ This command sets HttpLoggingEnabled to true for Web App ContosoWebApp associate
5556

5657
## PARAMETERS
5758

59+
### -AlwaysOn
60+
Ensure web app gets loaded all the time, rather unloaded after been idle.
61+
62+
```yaml
63+
Type: System.Boolean
64+
Parameter Sets: S1
65+
Aliases:
66+
67+
Required: False
68+
Position: Named
69+
Default value: None
70+
Accept pipeline input: False
71+
Accept wildcard characters: False
72+
```
73+
5874
### -AppServicePlan
5975
App Service Plan Name
6076
@@ -280,6 +296,21 @@ Accept pipeline input: False
280296
Accept wildcard characters: False
281297
```
282298
299+
### -FtpsState
300+
Set the Ftps state value for an app. Allowed Values [AllAllowed | Disabled | FtpsOnly].
301+
302+
```yaml
303+
Type: System.String
304+
Parameter Sets: S1
305+
Aliases:
306+
307+
Required: False
308+
Position: Named
309+
Default value: None
310+
Accept pipeline input: False
311+
Accept wildcard characters: False
312+
```
313+
283314
### -HandlerMappings
284315
Handler Mappings IList
285316
@@ -356,6 +387,21 @@ Accept pipeline input: False
356387
Accept wildcard characters: False
357388
```
358389
390+
### -MinTlsVersion
391+
The minimum version of TLS required for SSL requests. Allowed Values [1.0 | 1.1 | 1.2].
392+
393+
```yaml
394+
Type: System.String
395+
Parameter Sets: S1
396+
Aliases:
397+
398+
Required: False
399+
Position: Named
400+
Default value: None
401+
Accept pipeline input: False
402+
Accept wildcard characters: False
403+
```
404+
359405
### -Name
360406
WebApp Name
361407
@@ -492,7 +538,7 @@ Accept wildcard characters: False
492538
```
493539
494540
### CommonParameters
495-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
541+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
496542
497543
## INPUTS
498544

0 commit comments

Comments
 (0)