I'm many years late, but this article just helped me and I thank you very much!
Thank you for creating the "Replace-FileString.ps1" PowerShell script. I believe that it will be a useful script for my purposes.
And so, I have downloaded your Replace-FileString.ps1 PowerShell script file. But, when I try to run the script from a Command Prompt, it does not run. Instead, a text file that looks like the Release Notes file for the script is opened.
The version of PowerShell that is installed on my computer is v3.0. Previously, v2.0 of PowerShell was installed on my computer.
Please let me know what I am doing wrong or might be wrong with the setup of my computer and causing the Replace-FileString.ps1 script not to run.
Please read the article "Running PowerShell Scripts Is as Easy as 1-2-3" (http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3).
A new Master Class with John Savill! Get 12 hours of detailed instruction covering all the key aspects of a Hyper-V based virtualization environment.
During this training attendees will learn how to:
-- Architect a Hyper-V based virtualization solution.
-- Migrate from physical and other virtualization environments.
-- Implement a private cloud solution.
Save Over 15% - Early Bird Ends April 9th!
Register now to get the best rates available!
March 2014 - Perry Clarke, corporate VP for Microsoft Exchange, and Tony Redmond discuss the issues surrounding Exchange Server.
CURRENT ISSUE / ARCHIVE / SUBSCRIBE
The Windows IT Pro forums are moving to myITforum.com! Get answers to questions, share tips, and engage with the IT professional community.
Presented by Ron Charity and Eric Riz
March 19th at 11am, 1pm and 3pm ET...
Presented by Russell Smith
March 27th at 11am, 1pm and 3pm ET
View CatalogView Shopping Cart
Sponsored Introduction Continue on to (or wait seconds) ×