日本語のみで絞り込む
2021/8/17 -What is the proper way to define a dynamic ValidateSet in a PowerShell script? ... Use ValidateSet Command in param block to define parameter.
2018/11/29 -If you're writing for Windows PowerShell, I think a much more effective alternative is to combine [ArgumentCompleter()] and [ValidateScript()] ...
2019/1/15 -In issue #3744, it was proposed to support a dynamically generated set for [ValidateSet] . An example was given with a script block, which would ...
2025/7/15 -When you're creating scripts, in some cases, you may want to limit what values a consumer is allowed to provide for a specific parameter.
2018/3/29 -The way to create a dynamic validate set is to create the entire parameter in the function code. We'll start with the standard advanced function ...
2015/11/16 -I waht to streamline a bit of a function with a validate set. Using GShell I can get each of the groups email addresses from the Google ...
2019/10/23 -ValidateSet is a parameter attribute that allows you to define a set of elements that are only accepted as the value for that parameter. For ...
2012/4/16 -Today we'll continue our exploration of the parameter validation attributes you can use in you PowerShell scripting.
2022/9/7 -I'm working on PowerShell Universal and looking to create a custom ValidateSet based on the contents of an xml. Using ValidateSet is ...
2025/5/20 -The ValidateSetAttribute attribute specifies a set of possible values for a cmdlet parameter argument. This attribute can also be used by ...