mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-15 18:55:47 +00:00
Update New-AssetMaintenance.ps1
change startdate parameter to correct value
This commit is contained in:
parent
56852d863e
commit
393c6c9f49
1 changed files with 2 additions and 2 deletions
|
|
@ -73,8 +73,8 @@ function New-AssetMaintenance() {
|
|||
|
||||
$Values = . Get-ParameterValue
|
||||
|
||||
if ($values['start_date']) {
|
||||
$values['start_date'] = $values['start_date'].ToString("yyyy-MM-dd")
|
||||
if ($values['startdate']) {
|
||||
$values['startdate'] = $values['start_date'].ToString("yyyy-MM-dd")
|
||||
}
|
||||
|
||||
if ($values['completionDate']) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue