SQL Server 製品版では、定期的なバックアップをメンテナンスプランで構成することが多いと思います。 BACKUP DATABASE コマンドの出力先に共有フォルダを指定することも可能ではありますが、SQL Server 実行ユーザーに権限が必要ですし、ローカルにバックアップ ...
それでは、SMOを使用してデータベースの作成を行ってみることにしよう。まず、SQL Server Management Studioから「データベース」を右クリックして「PowerShellの起動」をクリックする。すると「Databases」フォルダからPowerShellが起動するので、以下のコマンドを実行 ...
ログインして、InfoQのすべての体験をアンロックしましょう!お気に入りの著者やトピックの最新情報を入手し、コンテンツと交流し、限定リソースをダウンロードできます。 “AI活用”をキーワードに「AIを使い倒し/使いこなす」企業の最前線をお届けし ...
他にも、PowerShellで可能な処理をいくつか見ていこう。まずはSMOを使用した少し複雑な例として、インデックスを作成してみよう。まず、SQL Server Management Studioで「インデックス」を右クリックし、「PowerShellの起動」をクリックする。 SMOを使用して ...
米Microsoft Corporationは23日(現地時間)、「Windows PowerShell ISE」のアドオン「Module Browser for Windows PowerShell ISE」を公開した。現在、同社のダウンロードセンターから無償でダウンロード可能。 「Module Browser」は、「PowerShellGet」をベースとしたGUIのモジュール管理 ...
There are lots of ways to create MSSQL databases via PowerShell. We could invoke a T-SQL query using the CREATE DATABASE term, we could write some code to use the [Create() method with SMO] or, if ...
The Redmond-based Microsoft Corporation has successfully turned on the PowerShell Module Browser site. Earlier this month, the Microsoft Docs team announced that the PowerShell Module Browser, a web ...
My PowerShell module project template, for use with Plaster. This template sets up a number of things to make getting started with authoring a new PowerShell module much less time consuming, while ...
For the longest time, the open source community had a ubiquitous concept called "public package repositories." Using utilities such as rpm, yum et al. is commonplace, but Microsoft never had the same ...