Forum Discussion

Chene's avatar
Chene
New Member
4 years ago
Solved

PowerShell during my PTO/Leave

Hi there, I have a lot of Power BI reports that is set up to update through scheduled times and the PowerShell is located on my laptop.  I am taking 2 weeks PTO/Leave in December and I am not planning on switching my laptop on.  Is it possible that I can move or at least copy the PowerShell over to Teams so that it updates the reports while I am away?

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Chene ,

     

    About using Powershell to refresh dataset, I think this blog could help you better to use it:

    Using-the-power-bi-api-with-powershell-scripts-refreshing-your-dataset 

    But if your data source requires a gateway, you must ensure that the gateway is online to refresh.

    This means that you still need to open the notebook to ensure a successful refresh.

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Chene ,

     

    About using Powershell to refresh dataset, I think this blog could help you better to use it:

    Using-the-power-bi-api-with-powershell-scripts-refreshing-your-dataset 

    But if your data source requires a gateway, you must ensure that the gateway is online to refresh.

    This means that you still need to open the notebook to ensure a successful refresh.

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.