SQL Server PSProvider SQL Server Authentication
greetings:
i'm trying use sql psprovider powershell. can make work management studio by right-clicking next database object. however, unnable external powershell session.
note:
i have tried using suggested method msdn (initializesqlprovider.ps1 , function sqldrive)
i following error:
new-psdrive : sql server powershell provider error: not connect 'emtyb06\default+bca_empresarial'. [object ref
erence not set instance of object.]
@ line:1 char:12
+ new-psdrive <<<< "sqlauth" -psprovider sqlserver -root "sqlserver:\sql\emtyb06\default+bca_empresarial" -credential
$cred -scope 1
new-psdrive : sql server powershell provider error: path sqlserver:\sql\emtyb06\default+bca_empresarial not exist.
please specify valid path.
@ line:1 char:12
+ new-psdrive <<<< "sqlauth" -psprovider sqlserver -root "sqlserver:\sql\emtyb06\default+bca_empresarial" -credential
$cred -scope 1
when start powershell management studio following prompt:
ps sqlserver:\sql\emtyb06\default+bca_empresarial\databases\bca_empresarial>
any ideas appreciated.
best regards,
sol
SQL Server > SQL Server Tools
Comments
Post a Comment