Home Dashboard Directory Help
Search

Get-Counter can not find French counters with apostrophe by Matthew BETTON


Status: 

Active


2
0
Sign in
to vote
Type: Bug
ID: 771164
Opened: 11/14/2012 7:55:09 PM
Access Restriction: Public
1
Workaround(s)
view
1
User(s) can reproduce this bug

Description

When using Get-Counter on Windows French with a counter name that contains a least one Apostrophe, you get an error message : "Le compteur spécifié n'a pas été trouvé."

In the value of the '-Counter' property, the Apostrophe needs to be a [char]8217, while french apostrophe is a [char]39.
Details
Sign in to post a comment.
Sign in to post a workaround.
Posted by Matthew BETTON on 11/14/2012 at 7:56 PM
Get-Counter -Counter ("\Disque logique(*)\Longueur moyenne de file d" + [char]8217 + "attente lecture disque")