powerbox
powerbox copied to clipboard
Fix: Issues with International Characters like german umlaut
Fixes issue with german Umlauts (and other non english characters) when using in strings in Set-nbObject and New-nbObject. For example like this
$nbVMObject= New-Object -Type PSObject -Property @{
name="VMName"
status="active"
site="Datacenter in Brühl"
cluster=1
role=1
vcpus=2
memory=1024
disk=10
comments="Beschreibung für ein deusches System mit deutschn Umlauten äöüÄÖÜ"
}
New-nbVirtualMachine -Object $nbVMObject