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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Windows schedular data in power bi

Hi Gurus,

 

I would like build a Power Bi dashboard to display windows schedular details.  Want to display schedular data such as Scheduled task name, who has scheduled it, when it will be run next time, what is a batch file or executable being used in scheudled task etc.

 

I tried Windows Powershell script to get details in .csv file which can be used as a source for my dashboard. But Powershell allows only to get limited details of windows schedular.

 

Does Power Bi has a support to get access windows schedular data? or if there are other ways to get this details, please share your ideas. 

 

Any help would be really appreciated.

 

Best regards,

Anbu

 

 

4 REPLIES 4
pranit828
Community Champion
Community Champion

HI @Anonymous 

Power Bi doesn't support to get access windows schedular data.

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
amitchandak
Super User
Super User
Greg_Deckler
Super User
Super User

@Anonymous Maybe:

 

 

schtasks /query /S SERVERNAME /FO CSV /V > exportedjobs.csv

 

You can not use /S SERVERNAME for the local computer.

 

You get these fields:

HostName TaskName Next Run Time Status Logon Mode Last Run Time Last Result Author Task To Run Start In Comment Scheduled Task State Idle Time Power Management Run As User Delete Task If Not Rescheduled Stop Task If Runs X Hours and X Mins Schedule Schedule Type Start Time Start Date End Date Days Months Repeat: Every Repeat: Until: Time Repeat: Until: Duration Repeat: Stop If Still Running


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks Greg. 

 

It's helped me a lot.

 

best regards,

Anbu

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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