mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
enh(powershell/updates): Substituion of special charactere for Fr, Es,… (#4872)
This commit is contained in:
parent
44300357c3
commit
444066f78a
@ -49,7 +49,7 @@ Try {
|
|||||||
|
|
||||||
Foreach ($update in $updates) {
|
Foreach ($update in $updates) {
|
||||||
$item = @{
|
$item = @{
|
||||||
title = $update.Title;
|
title = $update.Title.Normalize([Text.NormalizationForm]::FormD) -replace "\p{M}", "" -replace "\p{Z}", " ";
|
||||||
isMandatory = $update.IsMandatory;
|
isMandatory = $update.IsMandatory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user