dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.39k stars 788 forks source link

Update Get-DbaFile.ps1 #9202

Closed 0x7FFFFFFFFFFFFFFF closed 5 months ago

0x7FFFFFFFFFFFFFFF commented 6 months ago

Fix the bug:

PS C:\> Get-DbaFile -SqlInstance test -Path \\dc1\backup -FileType bak

Filename                                        SqlInstance
--------                                        -----------
\dc1\backup\AdventureWorks2016.bak              node1
\dc1\backup\AdventureWorks2016_202401072206.bak node1
\dc1\backup\db1_202401072154.bak                node1

PS C:\>

All SMB share paths should start with \\.

Please read -- recent changes to our repo

On November 10, 2022, we removed some bloat from our repository (for the second and final time). This change requires that all contributors reclone or refork their repo.

PRs from repos that have not been recently reforked or recloned will be closed and @potatoqualitee will cherry-pick your commits and open a new PR with your changes.

Type of Change

Purpose

Approach

Commands to test

Screenshots

Learning

wsmelton commented 5 months ago

I'm not sure why the Action is stuck failing after the base branch is corrected in the PR.

potatoqualitee commented 5 months ago

@wsmelton -- maybe its testing the SHA of the specific commit? Either way, I will merge it once appveyor passes bc I can't get it either.