Script Updates - Cleanup resultant file formatting
This commit is contained in:
1 parent
79b7ae1612
commit
6797b3cd80
1 file changed
+7
-5
@@ -8,8 +8,8 @@ param (
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
$fileVersion = "1.3.1"
|
$fileVersion = "1.3.2"
|
||||||
$fileDate = "2026-07-02"
|
$fileDate = "2026-08-04"
|
||||||
$scriptName = Split-Path -Path $PSCommandPath -Leaf
|
$scriptName = Split-Path -Path $PSCommandPath -Leaf
|
||||||
|
|
||||||
# Display Script Banner
|
# Display Script Banner
|
||||||
@@ -241,11 +241,13 @@ try {
|
|||||||
Set-Format -Address $sheet.Cells["2:2"] -WrapText
|
Set-Format -Address $sheet.Cells["2:2"] -WrapText
|
||||||
$sheet.Column(1).Width = 2
|
$sheet.Column(1).Width = 2
|
||||||
$sheet.Column(2).Width = 8
|
$sheet.Column(2).Width = 8
|
||||||
$sheet.Cells["I:T"].Style.HorizontalAlignment = "Center"
|
$sheet.Cells["F:G"].Style.HorizontalAlignment = "Center" # Center align ISO and Snapshots
|
||||||
$sheet.Cells["D2:T2"].Style.HorizontalAlignment = "Center"
|
$sheet.Cells["I:U"].Style.HorizontalAlignment = "Center" # Center align most columns
|
||||||
|
$sheet.Cells["D2:T2"].Style.HorizontalAlignment = "Center" # Center align most column headings
|
||||||
|
$sheet.Column(5).Width = 10
|
||||||
$sheet.Column(6).Width = 10
|
$sheet.Column(6).Width = 10
|
||||||
$sheet.Column(7).Width = 10
|
$sheet.Column(7).Width = 10
|
||||||
$sheet.Column(8).Width = 10
|
$sheet.Column(8).Width = 13
|
||||||
$sheet.Column(9).Width = 13
|
$sheet.Column(9).Width = 13
|
||||||
$sheet.Column(10).Width = 13
|
$sheet.Column(10).Width = 13
|
||||||
$sheet.Column(11).Width = 13
|
$sheet.Column(11).Width = 13
|
||||||
|
|||||||
Reference in new issue
Block a user