About 50 results
Open links in new tab
  1. Creating new file through Windows Powershell - Stack Overflow

    Aug 1, 2017 · I have googled for the below question, but could not find any answer. Can someone help me on this; What is the command to create a new file through Windows Powershell?

  2. powershell - Create file using Shell Scripting - Stack Overflow

    Jan 20, 2026 · How can I create a new file in PowerShell using built-in commands, specify its path and name correctly, ensure it is created in the desired directory, and then open or write content to that file …

  3. Create a shortcut (.lnk file) using PowerShell - Stack Overflow

    Aug 14, 2024 · I want to create a shortcut with PowerShell for this executable: C:\\Program Files (x86)\\ColorPix\\ColorPix.exe How can this be done?

  4. cmd - Create multiple files with Powershell? - Stack Overflow

    May 31, 2019 · 1 The following command in powershell will create multiple files (20) named Doc_.txt in the directory that the command is executed.

  5. What is the equivalent of "touch" on windows PowerShell?

    For example, Windows PowerShell's CmdLet $> New-item can create more than one type of item — for example, PowerShell create both directories, and files — therefore; in PowerShell, you need to …

  6. How to create a file in the directory in PowerShell

    Dec 16, 2019 · How to create a file in the directory in PowerShell Ask Question Asked 6 years, 3 months ago Modified 6 years, 3 months ago

  7. Create directory and file in same command using PowerShell

    It's not case-sensitive in powershell command, so the most convenient and fastest way to create file would be - > new-item -path . -name 'newfile.txt' -itemtype 'file' And for new directory, it's the same as …

  8. Create file with date and time stamp in Powershell

    Feb 25, 2019 · Create file with date and time stamp in Powershell Ask Question Asked 7 years, 1 month ago Modified 4 years, 11 months ago

  9. How to create permanent PowerShell Aliases - Stack Overflow

    Jul 23, 2014 · How can I achieve that? Note: The PowerShell Help system suggests that I can export the aliases I create, and import them next time I open a new session. Actually, that's not really what I'm …

  10. Create .bat file to run powershell 'as user' and then execute .ps1 file

    Feb 19, 2025 · 0 I need to create a .bat file that can run a powershell script using a specific account. This command will run powershell as the user: