Skip to content

Commit

Permalink
Merge pull request #19 from AzCiS/set-device-tzinfo-piping
Browse files Browse the repository at this point in the history
Add support for piping timezone info in Set-ASSDevice
  • Loading branch information
avirupch committed Mar 11, 2015
2 parents f55efc9 + 5e08e14 commit e1e7891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class SetAzureStorSimpleDevice : StorSimpleCmdletBase
/// <summary>
/// TimeZone for the device.
/// </summary>
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone)]
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone, ValueFromPipeline = true)]
[ValidateNotNullOrEmpty]
public TimeZoneInfo TimeZone { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class SetAzureStorSimpleVirtualDevice : StorSimpleCmdletBase
/// <summary>
/// TimeZone for the device.
/// </summary>
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone)]
[Parameter(Mandatory = false, Position = 2, HelpMessage = StorSimpleCmdletHelpMessage.TimeZone, ValueFromPipeline=true)]
[ValidateNotNullOrEmpty]
public TimeZoneInfo TimeZone { get; set; }

Expand Down

0 comments on commit e1e7891

Please sign in to comment.