... k ch b n, CheckSQLServer.ps1, b ng cách s d!ng “PowerServer3” nh m t i s Powerserver3 \SQL2 008 nh m t i s th hai nh th hi n bên d i ./CheckSQLServer.ps1 PowerServer3 PowerServer3 \SQL2 008 Chúng ... $SqlConnection.Close() } B c2 G n thêm vào file C:\CheckSQLServer\CheckSQL_Lib.ps1 o n mã sau ./checktopqueries.ps1 Lúc file C:\CheckSQLServer\CheckSQL_Lib.ps1 s có pinghost, checkservices, checkhardware, ... Can''t query TOP queries' end" $SqlCmd.Connection = $SqlConnection $SqlAdapter.SelectCommand = $SqlCmd $SqlAdapter.Fill($DataSet)|out-null $dbs =$DataSet.Tables[0] $dbs $SqlConnection.Close() } B c2...