Add files via upload
Fixed Personal Greeting error
This commit is contained in:
parent
f1bb42ac2f
commit
4fbd0531ea
1 changed files with 2 additions and 2 deletions
|
|
@ -930,10 +930,10 @@ if ($PSAppStatus -eq "True") {
|
|||
if ($GreetGivenName -eq "True") {
|
||||
Write-Log -Message "Greeting with given name selected. Replacing HeaderText"
|
||||
$Hour = (Get-Date).TimeOfDay.Hours
|
||||
if (($Hour -lt 0) -and ($Hour -lt 12)) {
|
||||
if (($Hour -ge 0) -AND ($Hour -lt 12)) {
|
||||
$Greeting = $GreetMorningText
|
||||
}
|
||||
elseif (($Hour -lt 12) -and ($Hour -lt 16)) {
|
||||
elseif (($Hour -ge 12) -AND ($Hour -lt 16)) {
|
||||
$Greeting = $GreetAfternoonText
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue