All my disk drives are listed as DVD, but I know they aren't![]()
My bad. There was supposed to be a "-not" conditional, except it got copied as "-"
Code:
< if (-not (Test-Path $Boot_WIM) -and -not ((Get-ChildItem -Path "$Drive\sources\install.*" -ErrorAction SilentlyContinue) | where { $_.Name -notmatch 'wim|esd|swm' })) {
---
> if (-not (Test-Path $Boot_WIM) -and -((Get-ChildItem -Path "$Drive\sources\install.*" -ErrorAction SilentlyContinue) | where { $_.Name -notmatch 'wim|esd|swm' })) {
Attachments
My Computer
At a glance
Windows 7
- OS
- Windows 7




