PowerShell sometimes outputs the source code if I have:
function f { $a=2 } $a
He prints:
C:\Users\vics> function f { $a=2 } $a
Why is it so tense?
If you do not save your files, the code is written to the console window. If your file is saved, it just executes. Then you will see the execution path, for example
C:\Users\vics> C:\Users\vics\Documents\test.ps1 ...
Source: https://habr.com/ru/post/1244280/More articles:How to get il body of one method with roslyn? - c #How to change color of error message in stripes - javaReinitializing the maximum counter value Jmeter - counterUnable to resolve character using ES6 import syntax - javascriptCalling a serial parallel thread makes all previous operations sequential - javaHow to add a composite index to the Google data warehouse? - google-app-engineC # linq remove multiple nodes - c #After writing to the zip folder, all zip entries change the encoding - c #For CREATE, one type of relationship must be specified in Neo4j. - neo4jWhy is execvp () executed twice with fork ()? - cAll Articles