Change default output file name
This commit is contained in:
@@ -24,7 +24,7 @@ param (
|
|||||||
|
|
||||||
# Generate timestamped filename (Format: ddMMyyyy-HHmm)
|
# Generate timestamped filename (Format: ddMMyyyy-HHmm)
|
||||||
$TimeStamp = Get-Date -Format "ddMMyyyy-HHmm"
|
$TimeStamp = Get-Date -Format "ddMMyyyy-HHmm"
|
||||||
$ReportName = "Non_Inherited_Permission_Audit_$TimeStamp.csv"
|
$ReportName = "Permission_Audit_$TimeStamp.csv"
|
||||||
$OutputFile = Join-Path -Path $ReportFolder -ChildPath $ReportName
|
$OutputFile = Join-Path -Path $ReportFolder -ChildPath $ReportName
|
||||||
|
|
||||||
# Verify directories exist
|
# Verify directories exist
|
||||||
|
|||||||
Reference in New Issue
Block a user