我不能用于Set-Location更改为数据库。我已经加载了 SQL Server 管理单元。我可以使用Set-Locationto get to SQL\Localhost\SQLEXPRESS\,并且可以使用 显示服务器节点下的路径Get-ChildItem。但是,如果我尝试更改为我机器上的已知数据库,则Set-Location调用失败。
Set-Location
SQL\Localhost\SQLEXPRESS\
Get-ChildItem
我错过了图书馆吗?
powershell sql-server-2008
powershell ×1
sql-server-2008 ×1