<?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 Re: Powershell Get-PowerBIWorkspace filter argument in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1126855#M23929</link>
    <description>&lt;P&gt;Thanks v-lionel-msft.&amp;nbsp; I've already reviewed the documentation on this cmdlet that you've suggested.&amp;nbsp; My question is specifically on how to pass multiple filter arguments to the filter parameter of the cmdlet.&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 14:35:57 GMT</pubDate>
    <dc:creator>AUaero</dc:creator>
    <dc:date>2020-05-28T14:35:57Z</dc:date>
    <item>
      <title>Powershell Get-PowerBIWorkspace filter argument</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1120805#M23877</link>
      <description>&lt;P&gt;Hi, this seems like it should be simple, but I'm not a Powershell expert so here goes.&lt;/P&gt;&lt;P&gt;I want to be able to pass two filter parameters to the Get-PowerBIWorkspace Powershell cmdlet.&amp;nbsp; Here's what I've tried:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Get-PowerBIWorkspace -Scope Organization -All -Filter {("tolower(type) eq 'group'") -and ("tolower(state) eq 'active'")}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This returns a bad request from the API:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Get-PowerBIWorkspace : Operation returned an invalid status code 'BadRequest'&lt;/LI-CODE&gt;&lt;P&gt;So, can I pass multiple filter criteria using the -filter parameter on this cmdlet?&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 18:49:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1120805#M23877</guid>
      <dc:creator>AUaero</dc:creator>
      <dc:date>2020-05-26T18:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-PowerBIWorkspace filter argument</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1125671#M23920</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/10197"&gt;@AUaero&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the article.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/get-powerbiworkspace?view=powerbi-ps" target="_self"&gt;Get-PowerBIWorkspace&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 09:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1125671#M23920</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2020-05-28T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-PowerBIWorkspace filter argument</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1126855#M23929</link>
      <description>&lt;P&gt;Thanks v-lionel-msft.&amp;nbsp; I've already reviewed the documentation on this cmdlet that you've suggested.&amp;nbsp; My question is specifically on how to pass multiple filter arguments to the filter parameter of the cmdlet.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 14:35:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1126855#M23929</guid>
      <dc:creator>AUaero</dc:creator>
      <dc:date>2020-05-28T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-PowerBIWorkspace filter argument</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1148422#M24070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/10197"&gt;@AUaero&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Get-PowerBIWorkspace -Scope Organization -All -Filter " ( tolower(type) eq 'group' ) -and ( tolower(state) eq 'active' ) "
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 08:48:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-Get-PowerBIWorkspace-filter-argument/m-p/1148422#M24070</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2020-06-09T08:48:35Z</dc:date>
    </item>
  </channel>
</rss>

