PowerShell - File and Directory Operations
What will be the output of this PowerShell command?
New-Item -Path 'C:\Temp\log.txt' -ItemType File -Value 'Start Log'
New-Item -Path 'C:\Temp\log.txt' -ItemType File -Value 'Start Log'
-ItemType File to create a file and -Value 'Start Log' to add initial content.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions