PowerShell Basic Lab
Objective:
Deliverables:
Part 1: Networking
Get an IPv4 Address from Ethernet Interface.

Get IPv4 PrefixLength from Ethernet Interface
Unsolved:

Solved:

Show what classes there is of Win32 library that starts with net and sort alphabetically.
Unsolved:

Solved:

Get DHCP Server IP Address and hide the table headers
Unsolved:

Solved:

Get DNS Server IPs for Ethernet interface and only display the first one
Unsolved:

Part 2: Directory Listing
List all the files in your working directory
Unsolved:

Solved:

Create a folder called "outfolder"
Unsolved:

Solved:

List all the files in your working directory that has the extension ".ps1" and save the results to out.csv file in "outfolder" directory
Unsolved:

Solved:

Without changing the directory, find every .csv file and change their extensions to .log. Then recursively display all the files
Unsolved

Solved

Last updated