PowerShell - File and Directory Operations
What will be the output of this PowerShell snippet?
Assuming
$file = 'C:\Temp\file.txt'
if (Test-Path $file) { 'File exists' } else { 'File missing' }Assuming
C:\Temp\file.txt does NOT exist.