Skip to content

Commit 5e08e14

Browse files
committed
Add support for piping timezone in Set-ASSVD
1 parent bac7006 commit 5e08e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DeviceDetails/SetAzureStorSimpleVirtualDevice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class SetAzureStorSimpleVirtualDevice : StorSimpleCmdletBase
4949
/// <summary>
5050
/// TimeZone for the device.
5151
/// </summary>
52-
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone)]
52+
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone, ValueFromPipeline=true)]
5353
[ValidateNotNullOrEmpty]
5454
public TimeZoneInfo TimeZone { get; set; }
5555

0 commit comments

Comments
 (0)