While we covered testing a single script in Pester, here's how to take that knowledge to the next level. As you progress in writing more advanced PowerShell scripts, you'll soon come to a point to ...
Microsoft365(M365)を管理するうえで便利なPowerShellですが、利用するためには準備が必要です。 なお、現在私はWindows10 Proを使用しています。Windows10 home や 8 、 7 でも利用できるようですが未確認です。Windows11はいずれ移行するので、その際は改めて記事にし ...
この記事では、BDDスタイルのテストフレームワークである「Pester」を導入する方法を紹介します。 PowerShellスクリプト開発において、ユニットテスト1を活用することで、品質の高いスクリプトを開発できます。 以下では、Pester を導入する手順を説明します。
Pester is *the* framework for testing your powershell scripts, functions and modules. It is a BDD (behavior driven design) framework. Tests are written in, and executed by, powershell.
先日、PowerShell 7.1へ向けた3つ目のプレビュー版が公開された。このバージョンから.NET 5のプレビューリリースと連動してリリースが行われるようになった。PowerShellは.NETに強く依存している。.NET 5のプレビューに合わせてPowerShell 7.1のプレビューをリリースし ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する