<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PowerShell scripting to tell difference between RDL and PBIX in Power BI service in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-scripting-to-tell-difference-between-RDL-and-PBIX-in/m-p/1686919#M28061</link>
    <description>&lt;P&gt;I have a PowerShell script using the Get-PowerBIWorkspace, Get-PowerBIReport, and Export-PowerBIReport cmdlets to retrieve the report files from our Power BI service workspaces.&amp;nbsp; &amp;nbsp;We recently went to premium capacity, and now we have pagianted report content some of our workspaces.&amp;nbsp; In our case, the RDL and PBIX files in the workspace are named with the same name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current export script is finding the two items named the same (one paginated report and the other a Power BI report), but it doesn't handle identification of the file I am looking at as RDL or PBIX content.&amp;nbsp; (My script to this point has assumed that it would only see PBIX files and writes the files out with that extension.)&amp;nbsp; &amp;nbsp;The effect of my script exporting the workspace is that the first extraction is overwritten by the second, since I am just reading out the exported file contents and appending the PBIX file extension to it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't see anyway in the return data from the PowerShell cmdlets I'm using to determine what kind of report content I am accessing - RDL or PBIX.&amp;nbsp; Is there a type value or some value I can evaluate to filter my powershell command to find only the RDL content?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 15:57:20 GMT</pubDate>
    <dc:creator>Jumpgate935</dc:creator>
    <dc:date>2021-02-24T15:57:20Z</dc:date>
    <item>
      <title>PowerShell scripting to tell difference between RDL and PBIX in Power BI service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-scripting-to-tell-difference-between-RDL-and-PBIX-in/m-p/1686919#M28061</link>
      <description>&lt;P&gt;I have a PowerShell script using the Get-PowerBIWorkspace, Get-PowerBIReport, and Export-PowerBIReport cmdlets to retrieve the report files from our Power BI service workspaces.&amp;nbsp; &amp;nbsp;We recently went to premium capacity, and now we have pagianted report content some of our workspaces.&amp;nbsp; In our case, the RDL and PBIX files in the workspace are named with the same name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current export script is finding the two items named the same (one paginated report and the other a Power BI report), but it doesn't handle identification of the file I am looking at as RDL or PBIX content.&amp;nbsp; (My script to this point has assumed that it would only see PBIX files and writes the files out with that extension.)&amp;nbsp; &amp;nbsp;The effect of my script exporting the workspace is that the first extraction is overwritten by the second, since I am just reading out the exported file contents and appending the PBIX file extension to it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't see anyway in the return data from the PowerShell cmdlets I'm using to determine what kind of report content I am accessing - RDL or PBIX.&amp;nbsp; Is there a type value or some value I can evaluate to filter my powershell command to find only the RDL content?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 15:57:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-scripting-to-tell-difference-between-RDL-and-PBIX-in/m-p/1686919#M28061</guid>
      <dc:creator>Jumpgate935</dc:creator>
      <dc:date>2021-02-24T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell scripting to tell difference between RDL and PBIX in Power BI service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-scripting-to-tell-difference-between-RDL-and-PBIX-in/m-p/1691332#M28103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/120818"&gt;@Jumpgate935&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;According to the syntax of cmdlets &lt;STRONG&gt;Get-PowerBIReport&lt;/STRONG&gt;, I did not find any parameter to identify the report type. Please check &lt;A href="https://github.com/microsoft/powerbi-powershell/blob/master/src/Modules/Reports/Commands.Reports/help/Get-PowerBIReport.md" target="_self"&gt;&lt;STRONG&gt;this documentation&lt;/STRONG&gt;&lt;/A&gt; for details. You&amp;nbsp;can raise a new &lt;STRONG&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fideas.powerbi.com%2Fforums%2F265200-power-bi-ideas&amp;amp;data=02%7C01%7Cv-yiruan%40microsoft.com%7C8f9679cfdb964e8212e208d7a08f469d%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637154409531550899&amp;amp;sdata=gVPebkdJSI4tj0%2BtgLdY832LjkoPTCu46%2FiFXTHYdMY%3D&amp;amp;reserved=0" target="_blank"&gt;idea&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;and add your comments there to make this feature coming sooner.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Get-PowerBIReport
   [-Scope &amp;lt;PowerBIUserScope&amp;gt;]
   [-Filter &amp;lt;String&amp;gt;]
   [-First &amp;lt;Int32&amp;gt;]
   [-Skip &amp;lt;Int32&amp;gt;]
   [-WorkspaceId &amp;lt;Guid&amp;gt;]
   [&amp;lt;CommonParameters&amp;gt;]&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 07:39:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-scripting-to-tell-difference-between-RDL-and-PBIX-in/m-p/1691332#M28103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-26T07:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell scripting to tell difference between RDL and PBIX in Power BI service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-scripting-to-tell-difference-between-RDL-and-PBIX-in/m-p/1698607#M28160</link>
      <description>&lt;P&gt;Thank you for your input - I've added a Power BI Idea for that enhancement here:&amp;nbsp;&lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=136711af-4d78-eb11-8ced-501ac524afb0" target="_blank"&gt;Microsoft Idea&amp;nbsp;· Extend the PowerShell scripts Get-PowerBIReport and Export-PowerBIReport to identify RDL vs PBIX content&lt;/A&gt;&amp;nbsp;. Vote it up!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So given that I can't identify the file with an attribute in those PowerShell scripts, does anyone have a tidy way in PowerShell to examine the file I've downloaded to deternine if it is a PBIX or RDL file?&amp;nbsp; I'm assuming the content of the files would tell me if I knew what I was looking for in them and the best way to script that examination.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 13:26:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-scripting-to-tell-difference-between-RDL-and-PBIX-in/m-p/1698607#M28160</guid>
      <dc:creator>Jumpgate935</dc:creator>
      <dc:date>2021-03-02T13:26:34Z</dc:date>
    </item>
  </channel>
</rss>

