Skip to content

Commit 857150d

Browse files
committed
Auto-fix PSScriptAnalyzer indentation and whitespace issues
1 parent a64e29a commit 857150d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SysAdmin-Tools/SystemConfiguration-and-Deployment/Broadcast-ADUser-LogonMessage-viaGPO.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<#
1+
<#
22
.SYNOPSIS
33
Post-logon script to display a standard message via an HTA file.
44
@@ -41,10 +41,10 @@ try {
4141
# ---------------------------------
4242

4343
# Prepare logging
44-
$scriptName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
45-
$logDir = "C:\Scripts-LOGS"
44+
$scriptName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
45+
$logDir = "C:\Scripts-LOGS"
4646
$logFileName = "${scriptName}.log"
47-
$logPath = Join-Path $logDir $logFileName
47+
$logPath = Join-Path $logDir $logFileName
4848

4949
function Log-Message {
5050
param (

0 commit comments

Comments
 (0)