$node = $appConfig.configuration.connectionStrings.add | Where-Object {$_.name -eq $dbName} $node.connectionString = $updatedConnectionString
- Where did
add
come from? - What does
$_
stand for here? - How is
$node.connectionString
assigning to the attribute when there is no property on$node
calledconnectionString
?
Lastly, any resource that can help me understand this and not ask stupid questions will be really appreciated.
submitted by /u/nummer31
[link] [comments]
The post Can anyone please breakdown what is going on in this script? appeared first on How to Code .NET.