Please see below. There is some kind of communication problem when I try to access "(localdb)\Projects" using the ability to connect to SQL Server as a drive, and then ultimately later (e.g. $server = Get-Item .) as a Smo Server object.
With localdb, it fails about 8 times, then suddenly actually works. It's painfully slow.
I am trying to do this, to, for example, write a script that can unregister a series of DACs all at once, but this is my root problem right now.
Any ideas?
Notice below, on the last line, it finally comes back and works.
Thanks,
Ryan
PS C:\Users\rwhite> cd sqlserver:sql\"(localdb)\projects"WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on '(localdb)' failed with the
following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
PS SQLSERVER:\sql\(localdb)\projects> gci | gm