How to find file with powershell

Hello everybody,

today I want to document one simple trick. Recently I've configured docker container and faced following issue with nuget.

For nuget I've used following command from powershell:

nuget install MSBuildTasks -Version 1.4.0.65

Nuget installed MSBuildTasks, and I didn't know where exactly nuget placed file MSBuild.Community.Tasks.Targets. So, I needed to find it. With help of following command:

Get-ChildItem -Path C:\ -Filter MSBuild.Community.Tasks.Targets -Recurse

I was able to execute search on the whole drive C for the file MSBuild.Community.Tasks.Targets and successfully find where Nuget placed that file.

No Comments

Add a Comment