Skip to content

Commit 7d80226

Browse files
committed
Auto-fix PSScriptAnalyzer indentation and whitespace issues
1 parent 79a237f commit 7d80226

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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
@@ -35,10 +35,10 @@ $consolePtr = [Win32]::GetConsoleWindow()
3535
# --------------------------------
3636

3737
# Logging configuration
38-
$scriptName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
39-
$logDir = "C:\Scripts-LOGS"
38+
$scriptName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
39+
$logDir = "C:\Scripts-LOGS"
4040
$logFileName = "${scriptName}.log"
41-
$logPath = Join-Path $logDir $logFileName
41+
$logPath = Join-Path $logDir $logFileName
4242

4343
function Log-Message {
4444
param (

0 commit comments

Comments
 (0)