8
0

Anlage des Repos

This commit is contained in:
2024-01-24 16:42:38 +01:00
commit 38d6a271c4
1785 changed files with 3051496 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#[void] remove-variable * | out-null
<#
[xml]$LISFile = get-content e:\vorlage1.xml
#Beispiel:
$LISFile.tour.tour_date
#>
$xml = New-Object XML
$xml.Load("e:\Vorlage3.xml")
#$xml
$oldperson = @($xml.employees.employee)[0]
$oldperson
$newperson = $oldperson.Clone()
$newperson.name = "Cofi"
$newperson.age = "30"
$newperson.id = "103"
$xml.employees.AppendChild($newperson)
write-host "---------------"
$xml
$xml.Save("e:\Vorlage3.xml")