Skip to content

Commit bac7006

Browse files
committed
Add support for piping timezone info in Set-ASSDevice
1 parent f55efc9 commit bac7006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class SetAzureStorSimpleDevice : StorSimpleCmdletBase
5757
/// <summary>
5858
/// TimeZone for the device.
5959
/// </summary>
60-
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone)]
60+
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone, ValueFromPipeline = true)]
6161
[ValidateNotNullOrEmpty]
6262
public TimeZoneInfo TimeZone { get; set; }
6363

0 commit comments

Comments
 (0)