0%

0/1 Lessons

Course Introduction

• 5min

0 / 2 lessons complete

Getting Started with Windows PowerShell

• 56min

0 / 8 lessons complete

Getting Help and Finding Commands

• 39min

0 / 6 lessons complete

PowerShell Command Syntax

• 33min

0 / 5 lessons complete

PowerShell Objects and Properties

• 35min

0 / 6 lessons complete

The PowerShell Pipeline

• 24min

0 / 2 lessons complete

PowerShell Providers

• 30min

0 / 5 lessons complete

PowerShell Arrays and Variables

• 28min

0 / 4 lessons complete

PowerShell Loops

• 19min

0 / 3 lessons complete

PowerShell Conditional Statements

• 11min

0 / 1 lessons complete

On Premises Lab Setup

• 36min

0 / 8 lessons complete

Basic Domain Administration with Windows PowerShell

• 2hr 27min

0 / 10 lessons complete

Send Emails with PowerShell

• 22min

0 / 2 lessons complete

PowerShell Desired State Configuration (DSC) Basics

• 1hr 48min

0 / 6 lessons complete

PowerShell Modules

• 58min

0 / 7 lessons complete

Powershell Challenges

• 1hr 55min

0 / 23 lessons complete

Section Overview
Full Access Account Required

Video | 5 min

The Trusted Hosts List Challenge
Full Access Account Required

Text | 5 min

The Trusted Hosts List Answer
Full Access Account Required

Video | 5 min

Starting a Remote Session Challenge
Full Access Account Required

Text | 5 min

Starting a Remote Session Answer
Full Access Account Required

Video | 5 min

Rename a Computer Challenge
Full Access Account Required

Text | 5 min

Rename a Computer Answer
Full Access Account Required

Video | 5 min

Change a Password on a Remote Computer Challenge
Full Access Account Required

Text | 5 min

Change a Password on a Remote Computer Answer
Full Access Account Required

Video | 5 min

How to Copy Files To-From a Remote Machine Challenge
Full Access Account Required

Text | 5 min

How to Copy Files To-From a Remote Machine using VSC Answer
Full Access Account Required

Video | 5 min

How to Export Logs to a CSV File Challenge
Full Access Account Required

Text | 5 min

How to Export Logs to a CSV File Answer
Full Access Account Required

Video | 5 min

How to Create Multiple Folders on the Host Machine using Powershell
Full Access Account Required

Text | 5 min

How to Create Multiple Folders on the Host Machine using Powershell Answer
Full Access Account Required

Video | 5 min

Who Rebooted the Server ID1074 Challenge
Full Access Account Required

Text | 5 min

Who Rebooted the Server
Full Access Account Required

Video | 5 min

How can you get Info on all your Hard Drives Challenge
Full Access Account Required

Text | 5 min

How can you get Info on all your Hard Drives Answer
Full Access Account Required

Video | 5 min

How can I get a list of CPU's and Installed Printers, Last Boot-up Time Challenge
Full Access Account Required

Text | 5 min

How can I get a List of CPU's and Installed Printers, Last Boot-up Time Answer
Full Access Account Required

Video | 5 min

How can I Automate Tasks with Task Scheduler Challenge
Full Access Account Required

Text | 5 min

How can I Automate Tasks with the Task Scheduler Answer
Full Access Account Required

Video | 5 min

Course Conclusion

• 1min

0 / 1 lessons complete

Objects, Properties and Methods Part 1

Instructions

Q&A (0)

Notes (0)

Resources (0)

Saving Progress...

Resources

There are no resources for this lesson.

Notes can be saved and accessed anywhere in the course. They also double as bookmarks so you can quickly review important lesson material.

Create note

The use of Objects is probably one of the most confusing parts of Powershell. By using illustrations or word pictures we hope to clarify PowerShells use of objects. If you have never programmed or scripted with objects, it’s critical that you gain an understanding of objects. If you are experienced and comfortable with the concept of objects you can skip this section.

Objects

The Boat

  • 1) So what are objects? Objects are things that we can interact with. For example: Like a boat or a car. Technically an object is the programmatic representation of anything.
  • An object is a cmdlet created by a developer.
  • 2) So why use a boat to illustrate an object? Because a boat is something that we have all seen and we all understand.
  • 3) Objects are usually considered as two types of things, Properties and Methods.
  • 4) Let’s take a look at some of these properties of our boat.
  • 5) Properties describe features, so let’s checkout some of these features.
  • 6) There’s our spot lightlife preserverCOMS devicewindows, and our engine.
  • 7) Now let’s take a look at Methods. Methods describe actions or in this example things that we can do with our boat. 
  • 8) Like Turn on the light, Throw the life preserver, track ships with our communication device, clean the windows and start the engine.
  • 9) Here’s another way to show properties and methods.

The Car â€“ Let’s take a look at another example.

  • 10) We already said that an object can be a car.
  • 11) And that Objects consist of Properties and Methods.

Properties describe the features of an object

Let’s take a look at some of the features of our car

Like headlights, wheels, side mirrors, our steering wheel, spoiler, and the door handle.

  • 14. Methods describe actions or things that we can do with our car
  • 15. Like turn-on lights, add air to the tires, check for traffic in our side mirror, turn left using our steering wheel. Clean the dirt off our spoiler. And use the door handle to open the door. 

BTW, this is not my car this is a 3.5 million dollar Bugatti sports car. 

Server Academy Members Only

Sorry, this lesson is only available to Server Academy Full Access members. Become a Full-Access Member now and you’ll get instant access to all of our courses.

0 0 votes
Lesson Rating
Subscribe
Notify of
profile avatar
0 Comments
Inline Feedbacks
View all comments