[讨论/分享] 修改SN/mac1等属性的另一种方法 |
请问楼主这个出错是我那里不对了呢
New-Serial : 无法对参数“permanent”执行参数验证。该参数为 Null 或为空。请提供一个不为 Null 或不为空的参数,然后重试此 命令。 所在位置 D:\xpenology\serial_generator.ps1:24 字符: 54 + Write-Output ("SN: " + (New-Serial -permanent <<<< $model.permanent)) + CategoryInfo : InvalidData: (:) [New-Serial], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,New-Serial MAC: 001132D4A47D |