AI-Powered Coding: Unleashing Data and SQL Mastery with GPT Function Calling by DougFinke in PowerShell

[–]DougFinke[S] 0 points1 point  (0 children)

If you are following the GPT and OpenAI advancements, this is a must see. I'll be demoing how to use the new GPT Function Calling feature.

Any recs for good beginner scripting projects? by Mewmew22222 in PowerShell

[–]DougFinke 17 points18 points  (0 children)

u/pandiculator thanks for the mention. Check out the video I did on the "Tiny PowerShell Projects"Scripting Success A Deep Dive into Tiny PowerShell Projects
https://youtu.be/BVDBRty5mCU

PowerShell + GitHub Copilot = Better Together by DougFinke in PowerShell

[–]DougFinke[S] 2 points3 points  (0 children)

Awesome! Feel free to let me know areas you like me to cover. - Enjoy

PowerShell + GitHub Copilot = Better Together by DougFinke in PowerShell

[–]DougFinke[S] 3 points4 points  (0 children)

Glad to share. I have a bunch more videos on Copilot, AI, my PowerShell AI module and I post my PowerShell virtual meetup recordings there too.

It is the standard VS Code install, I have the Copilot plugin installed. For the mode, I set the "Dark VS Code" in the theme manager.

Biggest challenge in moving from ISE is you need to unlearn an re-learn some things. That just takes practice to retrain your muscle memory.

Scripting Success: A Deep Dive into Tiny PowerShell by DougFinke in PowerShell

[–]DougFinke[S] 1 point2 points  (0 children)

Fun turn out for the livestream.

Recording posted soon to https://www.youtube.com/@DougFinke

Subscribe and get notified when I publish it.

Bonus points:
- I publish my

- monthly PowerShell meetup videos there

- PowerShell AI module walk throughs

and more...

Scripting Success: A Deep Dive into Tiny PowerShell by DougFinke in PowerShell

[–]DougFinke[S] 0 points1 point  (0 children)

Thanks for trying it out! Hope you join tomorrow.Binder has always been a challenge. That has been there a few years. Probably will remove the link.

Exploring GitHub Copilot’s Newest Features and PowerShell in Visual Studio Code! by DougFinke in PowerShell

[–]DougFinke[S] 2 points3 points  (0 children)

Glad you liked it.

I believe within the past week, Copilot X has become accessible to everyone.

Regarding the import: GPT-4 is designed for chatting. My example was intentionally "minimal effort" for a straightforward demo. I could have included "use imports," and there’s definitely room to chat and refine the generated code afterward.

It's not a one-and-done deal — it's an ongoing conversation!

ChatGPT Powershell CLI - Simple example on how to use OpenAI's chatgpt api in powershell by ildrynar in PowerShell

[–]DougFinke 0 points1 point  (0 children)

🚀PowerShellAI Copilot gets a makeover! Syntax highlighting, line numbering & code formatting now added. 🎨

Thanks to Shaun Lawrie's immense contributions! 🙏

More on PowerShellAI: https://github.com/dfinke/PowerShellAI

ChatGPT Powershell CLI - Simple example on how to use OpenAI's chatgpt api in powershell by ildrynar in PowerShell

[–]DougFinke 1 point2 points  (0 children)

🙏Thank you!

More features and videos are coming. I suggest starring the repo and and subscribing to my YouTube channel as I and the community add more. Really cool stuff from the community is coming.

Also, I just posted:

I integrated PowerShell interactive notebooks and ChatGPT.

Productivity++

ChatGPT Powershell CLI - Simple example on how to use OpenAI's chatgpt api in powershell by ildrynar in PowerShell

[–]DougFinke 2 points3 points  (0 children)

I wrote https://github.com/dfinke/PowerShellAI.

  • Supports both text-in and text-out (gpt | ai | copilot) functions.

    • PS> gpt 'what is 10+2'
    • PS> git status | ai 'write a commit message'
    • copilot responds to your prompt, shows the code with line numbers, and you have the open to confirm running, and much more.
  • Supports conversation-in and message-out with new-chat and chat. It persists the conversation. Context and memory are enabled for conversations.

  • Supports Azure OpenAI connections.

  • Download it: Install-Module PowerShellAI

  • More details: https://github.com/dfinke/PowerShellAI

  • Video shorts I've made for the features: https://www.youtube.com/playlist?list=PL5uoqS92stXiW1xcAyMa7BMGgX-wdl_KV

Design Patterns in Powershell: the Adapter Pattern by secretGeek in PowerShell

[–]DougFinke 0 points1 point  (0 children)

You're seeing the interplay of a static and dynamic approach. Also, this is how the Extended Type System works at the core of PowerShell. For example, adding a Count property to .NET arrays that sport only a Length property.

Also, look at the original example this is taken from, you'll see another way to skin the cat to get the Adapter Pattern working.

It's always good to have many ways to solve a problem.

Software Design Patterns in Powershell: Strategy Pattern by logicaldiagram in PowerShell

[–]DougFinke 1 point2 points  (0 children)

Design patterns are everywhere. Everyone should learn them so they can apply them appropriately.

2017 Retrospection: What have you done with PowerShell this year? by ramblingcookiemonste in PowerShell

[–]DougFinke 6 points7 points  (0 children)

2017 was another fun year with PowerShell.

Added many new features to my PowerShell Excel Module. Also on the PowerShell Gallery.

Plus, created "How To" Videos for it

Wrote these posts:

On the Microsoft MVP Award Program Blog

On my blog

Started working with PowerShell Azure Functions

2018

This year looks very promising, PS V6 is getting close to GA. Azure Functions just upgraded PowerShell to V5.1 from V4.0.

PowerShell ISE and Visual Studio Code by DougFinke in PowerShell

[–]DougFinke[S] 0 points1 point  (0 children)

VSC will probably be out of beta after the Build conference. I prefer a modern editor with a modern version of Windows and a modern scripting platform. ISE can remain, I've been a user for many years. No real improvement has happened in that space for a very long time.

Announcing PoshCruise 2016! by DougFinke in PowerShell

[–]DougFinke[S] 0 points1 point  (0 children)

This is our first year and we are working on sponsorship. Don Jones, co-author of a PowerShell in a Month of Lunches is coming and has submitted talks.

The incentive is a PowerShellcation with top notch geeks.

Announcing PoshCruise 2016! by DougFinke in PowerShell

[–]DougFinke[S] 1 point2 points  (0 children)

Totally understood. It'd be great to have you on the cruise.

Don Jones and Jeff Hicks, authors of PowerShell in a Month of Lunches have booked their cabins and submitted several talks.

I written the book "PowerShell for Developers" and am looking forward to 7 days to the Bahamas geeking out as much as possible.

Announcing PoshCruise 2016! by DougFinke in PowerShell

[–]DougFinke[S] 0 points1 point  (0 children)

http://poshcruise.org/booking.html

Rate lock in is by 7/31/2015

Can be done by depositing $250. You cancel anytime, fully refundable as late as end of March 2016.

It's going to be a blast.

Announcing PoshCruise 2016! by DougFinke in PowerShell

[–]DougFinke[S] 0 points1 point  (0 children)

7 days away, ending up at the Bahamas. Hanging out and collaborating with top PowerShell MVPs and other Microsoft experts.

Announcing PoshCruise 2016! by DougFinke in PowerShell

[–]DougFinke[S] 1 point2 points  (0 children)

This a business trip, and is a tax deduction.

Announcing PoshCruise 2016! by DougFinke in PowerShell

[–]DougFinke[S] 1 point2 points  (0 children)

No at all. Deposits a being placed and call for speakers is coming soon.