-
Notifications
You must be signed in to change notification settings - Fork 0
/
notify.ps1
99 lines (98 loc) · 4.27 KB
/
notify.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
$location = "Var From Init Data"
#$location = "IND"
$contact =""
####Local Contacts hardware ###########################
#-America’s
$contactNLK = "NR@olle.com"
$contactBDU ="CG@olle.com"
$contactCHL ="Jr@olle.com"
$contactCPK ="Ce@olle.com"
$contactMER ="Ht@olle.com"
$contactSCR ="Cs@olle.com"
$contactVIN ="Nto@olle.com; Fga@olle.com"
$contactCMS ="Vi@olle.com"
$contactEXEC ="Kson@olle.com"
#-APAC
$contactADE ="SRay@olle.com;Att@olle.com"
$contactAUK ="SRay@olle.com;Arett@olle.com"
$contactIND ="SRay@olle.com;Aett@olle.com"
$contactKLP ="SRay@olle.com;Aett@olle.com"
$contactSUZ ="MWu@olle.com"
#-EMEA
$contactBRE ="Cout@olle.com"
$contactAIX ="Cout@olle.com;Oker@olle.com"
$contactFAK ="Cout@olle.com;Ses@juk.com"
$contactFLX ="Cout@olle.com;Olker@olle.com"
$contactGTH ="Cout@olle.com;Peon@olle.com"
$contactSCH ="Cout@olle.com;Oler@olle.com"
$contactWEI ="Cout@olle.com"
##############################################
If ($location -eq "NLK"){
$contact = $contactNLK
}
If ($location -eq "BDU"){
$contact =$contactBDU
}
If ($location -eq "CHL"){
$contact = $contactCHL
}
If ($location -eq "CPK"){
$contact = $contactCPK
}
If ($location -eq "CPK"){
$contact = $contactCPKCell
}
If ($location -eq "MER"){
$contact = $contactMER
}
If ($location -eq "SCR"){
$contact = $contactSCR
}
If ($location -eq "VIN"){
$contact = $contactVIN
}
If ($location -eq "CMS"){
$contact = $contactCMS
}
If ($location -eq "EXEC"){
$contact = $contactEXEC
}
If ($location -eq "EXEC"){
$contact = $contactEXECCell
}
If ($location -eq "ADE"){
$contact = $contactADE
}
If ($location -eq "AUK"){
$contact = $contactAUK
}
If ($location -eq "IND"){
$contact = $contactIND
}
If ($location -eq "KLP"){
$contact = $contactKLP
}
If ($location -eq "SUZ"){
$contact = $contactSUZ
}
If ($location -eq "BRE"){
$contact = $contactBRE
}
If ($location -eq "AIX"){
$contact = $contactAIX
}
If ($location -eq "FAK"){
$contact = $contactFAK
}
If ($location -eq "FLX"){
$contact = $contactFLX
}
If ($location -eq "GTH"){
$contact = $contactGTH
}
If ($location -eq "SCH"){
$contact = $contactSCH
}
If ($location -eq "WEI"){
$contact = $contactWEI
}