2,790 results
Open links in new tab
  1. How to Create a File in PowerShell - LazyAdmin

    Sep 21, 2023 · Learn how to create a file in PowerShell with the New-Item cmdlet. Including multiple files, testing if a file exists and …

  2. New-Item (Microsoft.PowerShell.Management) - PowerShell

    The Force parameter lets you create a file in the profile path, even when the directories in the path do not exist. After you create a …

  3. Creating new file through Windows Powershell - Stack Overflow

    Aug 1, 2017 · As many have already pointed out, you can create files with the New-File command. This command has a default alias …

  4. How to Create a New File in Windows PowerShell: Simple Command …

    Sep 11, 2026 · This comprehensive guide covers step-by-step methods to create new files in PowerShell, highlighting native …

  5. Powershell - Create File - Online Tutorials Library

    Cmdlet New-Item cmdlet is used to create a file by passing the path using -Path as path of the file and -ItemType as File.

  6. How to Create Files and Folders with PowerShell | Petri

    Jun 22, 2022 · PowerShell can intelligently create multiple files and folders in bulk. In this guide, we'll show you how to create your …

  7. Create Files and Folders with PowerShell - Windows Command Line

    Nov 13, 2026 · Create folders, empty files and text files in PowerShell. Includes mkdir, New-Item, appending content and a touch …

  8. Out-File (Microsoft.PowerShell.Utility) - PowerShell

    Out-File uses the FilePath parameter and creates a file in the current directory named Process.txt.

  9. PowerShell Create File Tutorial: A Step-by-Step Guide - Netwrix

    Aug 12, 2025 · In this tutorial, learn how to implement the PowerShell create file command and other PowerShell scripts.

  10. Create Files with Content Using PowerShell: Text, JSON, XML

    Oct 4, 2026 · Below I cover multiline text, encoding, and JSON and XML files. I ran every example in PowerShell 7.6 and Windows …