4 Replies Latest reply on Oct 17, 2019 6:08 AM by ganapa2000

    Unable to get the chart

    ganapa2000 Hot Shot



      I am unable to get the pie chart from the attached script, please help.


      Error :


      ConvertTo-Base64 : The term 'ConvertTo-Base64' is not recognized as the name of a cmdlet, function, script file, or

      operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try


      At D:\Pie_Report_4.0.ps1:55 char:29

      +    $Script:PiechartImgSrc = ConvertTo-Base64 ($FileName + ".png")

      +                             ~~~~~~~~~~~~~~~~

          + CategoryInfo          : ObjectNotFound: (ConvertTo-Base64:String) [], CommandNotFoundException

          + FullyQualifiedErrorId : CommandNotFoundException