Pertanyaan yang diberi tag powershell-3.0

153
Bagaimana cara memuat rakitan di PowerShell?

Berikut kode PowerShell #Get a server object which corresponds to the default instance $srv = New-Object -TypeName Microsoft.SqlServer.Management.SMO.Server ... rest of the script ... Memberikan pesan kesalahan berikut: New-Object : Cannot find type [Microsoft.SqlServer.Management.SMO.Server]:...