Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 96b5bbf

Browse files
author
treestryder
committed
Issue #14
1 parent 4a401e1 commit 96b5bbf

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

source/public/Set-WorkdayWorkerPhone.ps1

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,21 @@ function Set-WorkdayWorkerPhone {
1717
Sets the Workday primary Work Landline for a Worker. This cmdlet does not
1818
currently support other phone types. Also excepts the alias OfficePhone.
1919
20+
.PARAMETER Extension
21+
Sets the worker's extension, if included.
22+
23+
.PARAMETER UsageType
24+
Known usage types: 'HOME' or 'WORK'.
25+
26+
.PARAMETER DeviceType
27+
Known device types: 'Landline', 'Cell', Mobile, 'WORK'
28+
29+
.PARAMETER Private
30+
Mark number as private.
31+
32+
.PARAMETER Secondary
33+
Any non-primary number. There can be multiple non-primary numbers, but only one primary.
34+
2035
.PARAMETER Human_ResourcesUri
2136
Human_Resources Endpoint Uri for the request. If not provided, the value
2237
stored with Set-WorkdayEndpoint -Endpoint Human_Resources is used.
@@ -47,9 +62,7 @@ Set-WorkdayWorkerPhone -WorkerId 123 -Number 1234567890
4762
[ValidateNotNullOrEmpty()]
4863
[string]$Number,
4964
[string]$Extension,
50-
[ValidateSet('HOME','WORK')]
5165
[string]$UsageType = 'WORK',
52-
[ValidateSet('Landline','Cell')]
5366
[string]$DeviceType = 'Landline',
5467
[switch]$Private,
5568
[switch]$Secondary,

0 commit comments

Comments
 (0)