Search found 23 matches

by fr3288
Tue Jun 17, 2008 5:49 am
Forum: PowerShell
Topic: Search and replace
Replies: 5
Views: 3844

Search and replace

Hello: I'm trying to do a search and replace text in all files in a folder and its sub folders. I don't get erros but it does not replace the text. Here is what I have: $files = Get-ChildItem "c:test" -recurse foreach ($file in $files) {$content = Get-Content $file $content -replace ("testing","new ...
by fr3288
Sun Jan 28, 2007 4:49 am
Forum: Customer Service
Topic: PowerShell WMI Wizard
Replies: 2
Views: 2328

PowerShell WMI Wizard

Thanks, Alex. I had not notice that. Please put it in the wish list.
Thanks for your prompt response.
by fr3288
Sun Jan 28, 2007 1:37 am
Forum: Customer Service
Topic: PowerShell WMI Wizard
Replies: 2
Views: 2328

PowerShell WMI Wizard

I have PrimalScript version 4.1.532 Enterprise Edition. In a new blank PowerShell script file when I insert a script from the WMI Wizard I get the following error: Missing expression after unary operator '!' The error says the problem is on line 21 character 9. Also, I noticed that the variables are...