Không ai có vẻ hỏi câu hỏi đơn giản này, vì vậy tôi sẽ làm như vậy.Đường dẫn thư mục của tệp Powershell Trong Powershell
tập tin kịch bảnMy PowerShell tọa lạc: C:/this-folder/that-folder/another-folder/powershell-file.ps1
Làm thế nào để có được một biến mà trả về: C:/this-folder/that-folder/another-folder/
You are tôi anh hùng, cảm ơn bạn. –