Introduction

Gal Normal

I want to learn some basic PowerShell commands, but make it fun for kids like me!

Geek Curious

Sure thing! Let's explore some simple and fun commands that you can start using right away.

Gal Happy

Yay! Let's do this!

Geek Smiling

Alright, here we go!

Command 1: Get the Current Date and Time

Gal Excited

What's the first command?

Geek Nodding

The first command is Get-Date. It shows the current date and time.

Get-Date
Gal Amazed

Wow, that's so cool! What's next?

Geek Encouraging

You'll love the next one!

Command 2: Speak Text Aloud

Gal Wondering

What's the next command?

Geek Proud

The next command is Add-Type and Speak. It makes your computer speak the text you provide!

Add-Type -AssemblyName System.Speech
$synthesizer = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer
$synthesizer.Speak('Hello, I am your computer!')
Gal Laughing

That's hilarious! 😂 My computer can talk now!

Geek Enthusiastic

I knew you'd love it! Let's move on to the next one.

Command 3: List Files and Folders

Gal Eager

What's the third command?

Geek Ready

The third command is Get-ChildItem. It lists files and folders in a directory.

Get-ChildItem
Gal Impressed

Wow, I can see all my files and folders now! What's the last command?

Geek Smiling

The last command is super fun, too!

Command 4: Create a New Folder

Gal Curious

What's the final command?

Geek Happy

The last command is New-Item. It helps you create a new folder!

New-Item -ItemType Directory -Name 'MyNewFolder'
Gal Surprised

OMG, I just made a new folder! This is so cool!

Geek Pleased

I'm glad you enjoyed it!

Conclusion

Congratulations! You’ve learned some basic and fun PowerShell commands. Keep practicing and exploring more commands to become a PowerShell pro! Good luck, and have fun! 😄