Questions et réponses pour le powershell-5.0 :
Pour les problèmes liés à Windows PowerShell, version 5.0
1
votes
Comment référencer la sortie du "tuyau" précédent dans un pipeline Powershell?
J'ai écrit ce code pour obtenir un chemin de fichier (relatif): $some_file_path = Get-ExecutingScriptDirectory | Join-Path -Path {{PREVIOUS STDOUT}} -ChildPath "foo.json" | Get-Content ...
visual-studio-code
powershell
powershell-5.0
11 commentaire(s)