creating a prompt screen that allows a user to select the file

Hi team, i am trying to find example code that when running my code would prompt the user to select the file,rather then having to type it in, is there example code for this?

Search: form powershell file select

 

https://www.bing.com/search?q=form+powershell+file+select&qs=HS&pq=form+powershell+file+se&sk=PRES1&sc=1-23&cvid=DA91024DF73346EB9F53DC58E6F4600E&FORM=QBRE&sp=1

Search: form powershell file select