SQL Server 2008では、最近のマイクロソフトのサーバー製品と同じように、Windows PowerShellが正式にサポートされている。さらにWindows Server 2008 R2のリリースとともにPowerShellは2.0へとバージョンアップし、大幅に強化されたという噂だ。これを使うと、管理作業を ...
それでは、SMOを使用してデータベースの作成を行ってみることにしよう。まず、SQL Server Management Studioから「データベース」を右クリックして「PowerShellの起動」をクリックする。すると「Databases」フォルダからPowerShellが起動するので、以下のコマンドを実行 ...
SQL Server 製品版では、定期的なバックアップをメンテナンスプランで構成することが多いと思います。 BACKUP DATABASE コマンドの出力先に共有フォルダを指定することも可能ではありますが、SQL Server 実行ユーザーに権限が必要ですし、ローカルにバックアップ ...
To wrap up this series of PowerShell articles, let's take a look at a few tips and tricks for working with PowerShell in SQL Server on a regular basis. To wrap up this series of PowerShell articles, ...
Aras Innovator 学習環境 ─ コマンド解説レポート(2025‑09‑30) このレポートでは、2025 年 9 月 30 日に行った SQL Server インストール後の設定作業で使用した PowerShell コマンドと SQL コマンドの意味と目的を、初学者にも分かりやすいように解説します。前回作成 ...
When I (along with many other people) had a lot of trouble trying to install SQL Server Management Studio in an attempt to switch from the SQL Server 2008 R2 evaluation to the free Express version, I ...
Let's follow up the last column with a step-by-step breakdown shows how the PowerShell script automates SQL Server backups, manages retention, logs activity and verifies data integrity. In my first ...
A PowerShell cmdlet can complete by successfully initiating an action. This does not indicate that the intended work, such as the fail over of an availability group, has completed. When scripting a ...