Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

question about $

$
0
0

Hi experts

I needed to find a script that modifies a file on a lot of servers.

anyway I found something,modified it alittle.

It works and all

but just out of curiousity I want to understand what a certain thing does:

 %{$_ -replace 'MaxActiveMovesPerSourceMDB = "5"$','MaxActiveMovesPerSourceMDB = "50"' `

what does the $ sign do after the:

'MaxActiveMovesPerSourceMDB = "5"

why do I need it?

 

Thanks in advance

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles