Change default output file name
This commit is contained in:
1 parent
f64503817d
commit
c59138fdda
1 file changed
+1
-1
@@ -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