約258件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1年以内
  • 2026/11/15 -[ValidateScript({Test-Path -Path $_ -PathType Leaf})], The expression must be valid (return $true): The file must exist. [ValidateScript({Test-Path -Path $_} ...

    2026/6/1 -The ValidateScript attribute lets you define custom validation logic using a script block. The $_ variable represents the value being validated. PowerShell copy.

    2026/4/3 -Learn scripts that you can use to resolve issues in on-premises environments, including PowerShell scripts for script execution preparation.

    2026/3/16 -[ValidateScript()] is the most flexible validation option. It accepts a script block that must return $true for validation to pass. Use it when none of the ...

    2026/2/5 -[ValidateScript({ # VALIDATION 1: Does directory exist? if (-not (Test-Path $_)) { throw "Path '$_' does not exist!" } # VALIDATION 2: Is it a directory ...

    2026/8/24 -PowerShell Standards. An opinionated, production-grade set of standards for writing PowerShell that is consistent, safe, observable, secure, and testable.

    2026/7/7 -In the Select test device section, choose an online device. Click Run script. Validation allows you to: Confirm the script runs successfully; Review detected ...

    2026/10/16 -The task is to read a configuration file in standard configuration file format, and set variables accordingly. For this task, we have a configuration file ...

    2026/2/28 -It is recommended to use a test virtual machine or Windows Sandbox to perform this validation. ... ValidateScript({ Test-Path $_ -PathType Leaf })] [string]$ ...

    2026/1/13 -You can use $PSItem in the scriptblock of a ValidateScript attribute. When used with ValidateScript, $PSItem is the value of the current object being validated.