Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Chene
New Member

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?

1 ACCEPTED SOLUTION
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.

3.png

 

 

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.

View solution in original post

1 REPLY 1
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.

3.png

 

 

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.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Solution Authors