get-mailboxfolderpermission with /

Welcome Forums General PowerShell Q&A get-mailboxfolderpermission with /

Viewing 2 reply threads
  • Author
    Posts
    • #255686
      Participant
      Topics: 2
      Replies: 3
      Points: 11
      Rank: Member

      Dear All,

       

      I came across a rather strange phenomen. When I would like to view folder in outlook, which contain / slash.

      for example bbr:”\00 Eingehende E-Mails\10/20er Regel”:

      When I use exactly this string I can execute this command:

      but when I use it in value I am getting error:

      How comes, oh wonders.

      Could you guys maybe help me with this mind boggling puzzle 🙂

      best regards

      Artur

      • This topic was modified 2 months, 2 weeks ago by grokkit. Reason: code formatting
    • #255713
      Participant
      Topics: 1
      Replies: 85
      Points: 387
      Helping Hand
      Rank: Contributor

      You don’t need inner quotes if you are storing it in a variable. The shell won’t parse them out if in a variable first. Use the following:

       

    • #255815
      Participant
      Topics: 2
      Replies: 3
      Points: 11
      Rank: Member

      Worked like a charm

      May the road rise to meet you,
      May the wind be always at your back.
      May the sun shine warm upon your face,
      The rains fall soft upon your fields.

      Thank you so much AdminOfThings45

Viewing 2 reply threads
  • You must be logged in to reply to this topic.