About 45,800 results
Open links in new tab
  1. Edit a text file on the console using Powershell

    Jun 15, 2012 · I'm trying to figure out the easiest way to edit text files in the console (PowerShell in my case). I'm using Windows 7 64 bit. It galls me that I can't just type edit filename.txt to edit …

  2. how to edit a file in powershell remoting session (powershell)

    If you are using Powershell 5, you can use command called PSEdit. It only works from ISE. So first, open PowerShell ISE Then open remote session to the remote computer using Enter …

  3. How do I update JSON file using PowerShell - Stack Overflow

    Mar 8, 2016 · I have one json file mytest.json like below I want to update values using PowerShell script update.json

  4. Powershell to manipulate host file - Stack Overflow

    Apr 8, 2010 · 76 I am looking to see if I can create a Powershell script to update the contents in the host file. Does anybody know if there are any examples that manipulate the host file using …

  5. How do I replace a line in a file using PowerShell?

    I am trying to read replace a line in a configuration file using PowerShell. Sometimes this script works, but most of the time it does not replace the line. (Get-Content …

  6. How can I replace every occurrence of a String in a file with ...

    Using PowerShell, I want to replace all exact occurrences of [MYID] in a given file with MyValue. What is the easiest way to do so?

  7. Use PowerShell to edit a file's metadata (Details tab of a file in ...

    Oct 30, 2020 · I want to edit the "Comments" Field of a file. I see several examples how to read the files metadata, but am not seeing how to edit the files metadata?

  8. file - Editing shortcut (.lnk) properties with Powershell - Stack …

    Jan 27, 2009 · The native PowerShell utilities substitute this wildcard, defeating the whole purpose. If that's your case, you're out of luck, as you'll need to edit only using the GUI …

  9. PowerShell: Change the timestamp (Date created) of a folder or file

    Jan 11, 2005 · As long as I don't open File Explorer, I can use PowerShell to change the Date created of a folder on the USB flash drive. Is there anyway like .Dispose () to stop Windows …

  10. Methods to hex edit binary files via Powershell - Stack Overflow

    Jan 5, 2014 · I am trying to perform a binary hex edit from the command line using only PowerShell. I have had partial success performing a hex replace with this snippet. My problem …