Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Powershell for SQL Server DBA

Powershell cho DBA SQL Server

Powershell cho DBA SQL Server

Trở thành DBA thông minh hơn với Powershell

4.6
(94 đánh giá)
2,007 học viên
Giảng viên
Powershell Academy
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 399.000đ -87%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
10.0 giờ video
103 bài giảng
6 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Tự động hóa tác vụ SQL Server bằng Powershell
Tự động hóa sao chép, Sao lưu, Khôi phục và quản lý bảo mật SQL Server
Di chuyển cơ sở dữ liệu bằng Powershell
Tạo giải pháp giám sát của riêng bạn bằng Powershell

Yêu cầu

Không hứa hẹn suông - Dành cho DBA SQL Server hoặc người đam mê học SQL Server

Đối tượng phù hợp

DBA SQL Server ở mọi cấp độ kinh nghiệm

Nội dung khóa học

14 phần • 103 bài giảng
1 Giới thiệu
2 Tài nguyên học tập - Script và slide
1 Cài đặt VMWare Player trên máy trạm
2 Tạo Máy ảo VM1 bằng VMWare Player
3 Cài đặt VMWare Tools để nâng cao tính năng Máy ảo
4 Tạo VM2 và CENTRAL SERVER
5 Thiết lập Domain và Domain Controller
6 Tham gia các Server vào domain 'LAB'
7 (Tùy chọn) Thiết lập Máy ảo (VM1) bằng VMWare Workstation Pro
8 Sự cố kết nối Internet - Máy ảo VMWARE
1 Module là gì
2 Demo về Modules
3 Giới thiệu Website Powershell gallery
4 Cài đặt Module dbatools trên Server (Rất Rất Quan trọng)
5 Cài đặt SQLDBATools (Để gỡ cài đặt SQL Server)
6 Cài đặt PSWindowsUpdate (Để cập nhật Windows)
7 Xử lý Functions trong Powershell
1 Tổng quan nhanh về Powershell DSC
2 Tổng quan cài đặt SQL Server bằng Powershell DSC
3 Script chi tiết - Cài đặt SQL Server
4 DEMO - Cài đặt SQL Server bằng DSC
5 Gỡ cài đặt SQL Server bằng Module SQLDBATools
6 Cài đặt SQL Server bằng dbatools
7 Cài đặt SSMS bằng Powershell
8 Tìm Product ID của SSMS - Script
9 Cài đặt SSIS, SSAS, SSRS cùng với SQL Server
10 Áp dụng bản vá dịch vụ trong SQL Server bằng Powershell
1 DBA có nên cập nhật Windows không?
2 Cập nhật Windows Servers thông qua Powershell
3 Xác minh sau khi cập nhật Windows
1 Giới thiệu nhanh về website dbatools
2 Tạo cơ sở dữ liệu đơn giản
3 Tạo cơ sở dữ liệu mới trên nhiều server
4 Tạo nhiều cơ sở dữ liệu trên nhiều server
5 Tạo cơ sở dữ liệu với nhiều tham số
6 Lấy thông tin cấp cơ sở dữ liệu (get-dbadatabase)
7 Lọc đầu ra của Get-dbadatabase
8 Thay đổi chủ sở hữu cơ sở dữ liệu
9 Thay đổi Recovery Model và cài đặt tăng trưởng file DB
10 Cách xóa cơ sở dữ liệu
11 Sao chép cơ sở dữ liệu từ instance này sang instance khác bằng dbatools
1 Sao lưu và Khôi phục bằng dbatools
2 Khôi phục cơ sở dữ liệu nâng cao bằng dbatools
1 Giới thiệu về Người dùng và Logins
2 Tạo Login bằng Powershell
3 Tạo User bằng Powershell
4 Thay đổi thuộc tính Login bằng Powershell
5 Lấy thông tin Login bằng Powershell
6 Tìm Logins bên trong các nhóm Active Directory
7 Quản lý Vai trò Cơ sở dữ liệu
8 Quản lý Vai trò Server
9 Sao chép Logins từ server này sang server khác
10 Xóa Logins dễ dàng
1 Thu thập thông tin cấp instance bằng Powershell
2 Quản lý SQL Agent Jobs bằng Powershell
3 Quản lý Linked Servers bằng Powershell
4 Đọc SQL Server Error log bằng Powershell
5 Sửa lỗi Orphaned users chỉ bằng một dòng lệnh
6 Thực thi truy vấn SQL bằng lệnh Invoke-SQLcmd
1 Kịch bản Sao chép SQL Server
2 Thiết lập sao chép từ CENTRALSERVER đến VM1
3 Thách thức khi khôi phục cơ sở dữ liệu được sao chép
4 Logic để tự động hóa Sao chép
5 Tự động hóa sao chép - Xem cách script hoạt động
6 QUAN TRỌNG: Hiểu về tham số -Wildcard
7 Chi tiết script tự động hóa
1 Giới thiệu: Grafana để giám sát SQL Server
2 Cài đặt Grafana để giám sát SQL Server
3 Thiết lập login Grafana trên SQL Server giám sát (centralserver)
4 Thiết lập dashboard mẫu bằng Grafana
5 Thu thập Độ trễ I/O cơ sở dữ liệu từ nhiều server
6 Lập lịch Job để thu thập Độ trễ I/O theo lịch
7 Tạo Dashboard hiển thị Độ trễ I/O
8 Lọc thông tin Độ trễ I/O dựa trên khoảng thời gian
9 Giám sát thực thi SQL Agent jobs
10 Thu thập dữ liệu SQL error log vào bảng repository
11 Thu thập thông tin cơ sở dữ liệu
12 Thu thập thông tin giám sát CPU - Bộ nhớ của các server cơ sở dữ liệu
13 Thu thập chi tiết thông tin Sao lưu gần nhất vào bảng repository
14 Thu thập chi tiết thông tin DBCC vào bảng repository
15 Thu thập chi tiết thông tin tăng trưởng cơ sở dữ liệu vào bảng repository
16 Thu thập thông tin Login vào bảng repository
17 Thu thập thông tin chi tiết Login vào bảng repository
18 Thu thập dữ liệu cấu hình SQL vào bảng repository
19 Thu thập chi tiết SQL Instance vào bảng repository
20 Hiển thị CPU, bộ nhớ trên Grafana dashboard
21 Hiển thị thông tin SQL Server agent và chi tiết DB trên Grafana dashboard
22 Hiển thị chi tiết Sao lưu gần nhất lên Grafana dashboard
23 Hiển thị thông tin Error Log lên Grafana dashboard
24 Hiển thị bộ nhớ khả dụng hiện tại của các server
25 Phân loại dashboard bằng các hàng
26 Hiển thị thuộc tính Login và SQL Instance lên dashboard
1 Chuyển đổi sang định dạng HTML
2 Gửi mail từ gmail bằng Powershell
3 Gửi mail từ gmail bằng mật khẩu ứng dụng (cho mail có xác thực 2 yếu tố)
4 Mã hóa mật khẩu khi gửi email
5 Tạo Báo cáo Sao lưu bị thiếu bằng Powershell
6 Tạo Báo cáo cảnh báo Sao chép
7 Báo cáo trạng thái Cơ sở dữ liệu
8 Báo cáo DBCC
1 Cách di chuyển cơ sở dữ liệu với dbatools
2 Demo Di chuyển
1 Điểm chính rút ra từ khóa học. Tổng kết.

Giới thiệu khóa học

Are you a SQL Server database administrator looking to enhance your skills and streamline your workflow? Look no further! Our comprehensive course, "Powershell for SQL Server DBA," is designed to empower you with the knowledge and tools necessary to become a proficient SQL Server administrator through the power of Powershell automation.

In this course, you'll embark on a transformative journey, starting with the basics of Powershell and gradually advancing to more complex topics tailored specifically for SQL Server administration. Whether you're a beginner or an experienced DBA, our course is structured to meet your needs and elevate your expertise.

Here's what you can expect to learn:

  1. Lab Setup: Learn to build a robust lab environment using VMware Player Workstation, where you'll create virtual machines, set up servers, and establish domains.

  2. DBATools Mastery: Explore the DBATools module available on Powershell Gallery, and discover how to install essential modules like SQL DBA Tools and PS Windows Update.

  3. Windows Update Automation: Master the automation of Windows Server updates to ensure your systems are always up-to-date and secure.

  4. SQL Server Installation: Dive into Powershell Desired State Configuration (DSC) for seamless SQL Server installation, including live demos on installing and patching SQL Server components.

  5. Database Management: Learn efficient database management techniques using DBATools, including database creation, configuration, backup, restore, and more.

  6. Security Management: Harness Powershell's capabilities to manage SQL Server user roles, permissions, and security settings effectively.

  7. SQL Server Replication Automation: Streamline transactional replication processes using Powershell automation, saving time and effort for critical DBA tasks.

  8. Reporting and Monitoring: Generate daily reports and build monitoring dashboards using Powershell and Grafana, ensuring real-time insights into your SQL Server environment.

  9. Database Migration: Simplify database migration tasks using DBATools, executing migrations effortlessly with single commandlets.

Throughout the course, you'll benefit from hands-on demos, practical exercises, and real-world examples to reinforce your learning. Additionally, live doubt-clearing sessions and ongoing support from our experienced instructors will ensure you have the guidance you need every step of the way.

Join us on this transformative journey and unlock the full potential of Powershell automation in SQL Server administration. Whether you're aiming to enhance your career prospects or streamline your organization's database management processes, this course is your gateway to success.

Enroll now and become a proficient Powershell SQL Server DBA!

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Database Administration
Hiển thị tất cả khoá học Devops
Hiển thị tất cả khoá học Powershell
Hiển thị tất cả khoá học Sql Server
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊