Skip to content

Commit

Permalink
New-AsBuiltReport : Exception calling "Save" with "1" argument(s): "'…
Browse files Browse the repository at this point in the history
….', hexadecimal value 0x00, is an invalid character." AsBuiltReport#26
  • Loading branch information
rebelinux committed Apr 7, 2024
1 parent 94fb7b7 commit 124621e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Private/Get-AbrWinHostStorageVolume.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function Get-AbrWinHostStorageVolume {
process {
if ($InfoLevel.Storage -ge 1) {
try {
$HostVolumes = Invoke-Command -Session $TempPssSession -ScriptBlock { Get-Volume | Where-Object {$_.DriveType -ne "CD-ROM" -and $NUll -ne $_.DriveLetter} }
$HostVolumes = Invoke-Command -Session $TempPssSession -ScriptBlock { Get-Volume | Where-Object {$_.DriveType -ne "CD-ROM" -and $_.DriveLetter} }
if ($HostVolumes) {
Section -Style Heading3 'Host Volumes' {
Paragraph 'The following section details local volumes on the host'
Expand Down

0 comments on commit 124621e

Please sign in to comment.