
Set up the PowerShell environment and learn basic to advanced commands for Windows system administration. Explore operators, loops, conditionals, arrays, and hash tables, plus file operations and simple tool building.
Learn how to upgrade to PowerShell 5.1 across Windows 10 and older systems with Windows Management Framework 5.1, and verify the version using the $PSVersionTable command.
Launch PowerShell by choosing the 64-bit or 32-bit command prompt or PowerShell ISE, run simple commands like echo hello, and view available commands with Show Command window.
Discover how the PowerShell command line uses objects in input and output, and how to use Get-Help to learn about commands like Write-Host and its parameters.
Learn how to use the New-Item cmdlet to create files, folders, and registry keys, set initial content with the value parameter, and explore help with Get-Help.
In PowerShell, part 2 of the New-Item example shows how to create a directory named testing by setting the item type to directory, then verify it appears on the desktop.
Learn to create files with PowerShell using the New-Item cmdlet by adding a file to a testing directory, then verify the file with both relative and full paths.
Master the copy-item cmdlet to copy a file within the same namespace, using path and destination parameters with get-help guidance.
learn how to copy all contents from one directory to another using the PowerShell copy-item cmdlet, including the asterisk wildcard and the destination parameter.
Master the rename-item command in PowerShell to rename a file without changing its contents. Use Get-Help to learn the path and new-name parameters, and verify the rename in the shell.
Explore how the remove-item cmdlet deletes one or more items across providers, then use Get-Help to view parameters like path and wildcard, and remove all contents in a test directory.
Use remove-item with include and exclude to delete all .txt files in a directory while keeping those that include the word two in their name.
Move-item transfers an item, including its properties and content, within the same provider. Use get-help to explore parameters such as path, destination, and force with practical examples.
Move a directory and its content using PowerShell Move-Item to another directory, as shown by moving the test directory into the testing directory and verifying the result.
Explore the Get-Item cmdlet in PowerShell, inspect its path and include parameters using Get-Help. List directory contents with an asterisk to view all items.
Demonstrates using the Get-Item cmdlet to fetch last access time, creation time, and last write time for a directory, and employs Get-Member to list all properties.
Learn how to use get-member to inspect an object's properties and methods by piping an object or using the input object parameter, with examples like length, ToUpper, and ToLower.
Demonstrate how set-content writes or replaces file content in PowerShell using the value and path parameters, and compare it with add-content through a practical example.
Learn to use PowerShell's Set-Content with a filter to empty all txt files in the testing directory while leaving other files untouched, then verify changes.
Learn how the PowerShell get-content cmdlet reads file content line by line, returns a collection of lines, and supports path, read-count, total-count, and tail parameters with practical examples.
Explore how to retrieve the last line of a text file with PowerShell using Get-Content and the tail parameter set to 1, demonstrated on a six-line file.
Learn to use the add-content cmdlet to append text to a file by specifying content as a string or object, and verify results with get-content.
Apply PowerShell basics to append a file's content to another using Add-Content, Get-Content, and a $ variable, with a step-by-step example and verification.
Learn how to use the PowerShell clear-content command to empty a file without deleting it. Explore parameters with get-help and verify results using get-content.
Learn how the Test-Path cmdlet in PowerShell checks if a path exists, returning true or false, with parameters like path and include, and how to use get-help for details.
Learn to use the Get-Date cmdlet to retrieve the current date and time, format it in different Unix and net formats, and pass date or time strings to other commands.
Format the current date and time in PowerShell by using Get-Date and the -Format parameter with specifiers d, mm, and yyyy to produce a dd/mm/yyyy date.
Learn to use the PowerShell write-host cmdlet to print custom messages with foreground and background colors, and explore its parameters using get-help.
Explore advanced usage of the foreach-object cmdlet in PowerShell, piping input objects and using the process block to perform per-item operations, such as dividing numbers by ten and displaying results.
Learn to use the ForEach-Object cmdlet with the split method to split strings by a dot delimiter, inspect members with Get-Member, and print coding language names via script block.
Learn how the PowerShell pipeline connects commands via the pipeline operator, sending output from one command to the next. See examples with get-process and stop-process to manage local processes.
Explore the sort-object cmdlet in PowerShell, sorting values in ascending or descending order by object properties, using default properties, and applying unique to return distinct results with an integer array.
Learn to sort names in a text file with PowerShell's sort-object cmdlet. Read the file with get-content, specify the path, and sort ascending or descending using -Descending.
Use Where-Object to filter service objects by status, such as listing stopped services with Get-Service and the status property, and note how the dollar underscore automatic variable represents each object.
Learn to use the Measure-Object cmdlet to count object properties and compute min, max, and average for numeric values, and measure text with character, line, and word options.
Learn to split strings with the new line character into multiple lines and count lines and words using Measure-Object’s line and word parameters, with a dog, cat and tiger.
Explore using the group-object cmdlet to group items by property values, display counts per group, and nest groups by multiple properties with extension examples.
Explore advanced use of the group-object cmdlet by applying a script block to the property parameter, grouping integers 1–20 by parity and counting evens and odds.
Learn to read console input with read-host, prompt the user, and handle secure input as a string stored in a variable.
Learn how to save console input as a secure string in PowerShell using a secure string parameter and store it in a password variable. Verify result by inspecting the variable.
Master the Tee-Object cmdlet in PowerShell to redirect output to a file or the pipeline, including creating files when needed, with practical Get-Process examples.
Learn to output the Get-Process results for Notepad to a variable using Tee-Object and the -Name parameter, then verify by listing the test variable to show three Notepad processes.
Master the advanced format-list cmdlet in PowerShell, displaying each object's properties on its own line for a full, non-truncated view, using get-help and the get-process pipeline.
Format process properties by name in PowerShell using format-list and the optional property parameter. Display id, name, and cpu for each process by piping get-process objects into format-list.
Explore how the Get-ChildItem cmdlet retrieves items from a path, returns child items for containers, and uses a depth parameter to avoid empty directories.
Learn to retrieve only the child item names in a directory with PowerShell's Get-ChildItem and the name parameter. See the testing directory example.
Learn to retrieve child items from the current directory and all subdirectories in PowerShell using Get-ChildItem. Apply the -recurse and -force parameters to include hidden files.
Explore PowerShell operators including automatic, assignment, comparison, logical, redirection, and split and join. Learn to perform calculations, assign values, compare data, connect expressions, and manage input and output.
Discover how PowerShell's automatic operators perform arithmetic: add, subtract, multiply, divide, and modulus, and how multiplication and addition handle strings, hash tables, and arrays, with a=20 and b=30 showing 50.
Demonstrates PowerShell's arithmetic operator to concatenate strings into Microsoft and to combine arrays into a single sequence like 1,2,3, A,B,C.
Explore how the modulus operator in PowerShell computes the remainder of a division, illustrated by 10 and 4 producing a remainder of 2.
Explore the PowerShell assignment operator to assign one or more values to a variable, including numeric values, arrays like 1,2,3, and strings like Hello world.
Master the addition assignment operator in PowerShell with practical examples that show adding to numbers and appending strings using the += operator, and it performs add then assign.
Explore the increment operator, an assignment operator that increases a variable by one, using post-increment and pre-increment to illustrate value changes in PowerShell.
Learn how PowerShell equality operators work by comparing two variables, using EC for equal and E for not equal, with an example showing true when A equals B and false.
Explore how the less than operator works in PowerShell by comparing variables, returning true or false, with hands-on examples like 20 and 30, then 20 and 19.
Explore PowerShell's comparison matching operators, including like, not like, and not match, using wildcard patterns to test strings and return a boolean true or false with practical examples.
Explore the not like operator in PowerShell; it returns true when strings do not match using wildcards, as test vs windows yields true, and false when both are the same.
Explore PowerShell containment operators, including contains, not contains, and not in, and learn how these operators return true when the right-hand value exists in the left-hand set through practical examples.
Demonstrate the not contains operator in PowerShell with an example where a right-hand value is absent from the left-hand set, returning true when not present.
Learn how the replacement operator in PowerShell uses a regular expression to replace parts of a string. The example replaces Sham with Lakshman in a defined variable.
Discover how PowerShell's type comparison operators 'is' and 'is not' return true when the left-hand value matches a Microsoft dot net type, with examples.
PowerShell's is not operator returns a boolean indicating a value's type; it demonstrates a string assigned to a variable and checked against an integer type.
Explore how PowerShell logical operators connect expressions to yield a boolean true or false. Use and, or, not with examples like A=10 and B=20 to test conditions.
PowerShell's not operator inverts the boolean result of an expression, turning true to false and vice versa, as shown when 20 equals 20 yields false and 21 yields true.
Learn PowerShell redirection operators to send command output to text files, using > and >>, and redirect streams to a success stream, saving the notepad process to l4.txt.
Learn how to use the double greater than operator to append a word document process to alpha.txt in PowerShell, then verify with get content.
Explore how the 2>&1 redirection redirects the error stream to the success stream in PowerShell, writing both outputs to a file named sigma.txt.
Learn to use the join operator in PowerShell to combine a string array into a single string in order. Understand how the split operator works to separate strings when needed.
Learn how to use the PowerShell split operator to divide strings into substrings by a comma delimiter, demonstrated with a variable and a practical example.
Explore PowerShell decision-making structures, including if, else, elseif, and switch, and learn how boolean expressions guide executed statements, with nested conditions.
Master the if statement in PowerShell: evaluate a boolean condition, run code in curly-brace blocks, and see an example that checks if a number is even.
Learn how to declare string variables in PowerShell and compare them with an if statement, printing a message when the strings are equal and observing nothing printed when they differ.
Learn how to use PowerShell if-else statements to evaluate conditions, apply modulus for even/odd checks, and write full statement blocks with proper syntax in a beginner-friendly step-by-step guide.
PowerShell: if-else statement part 2 demonstrates using a variable A and an if check to determine voting eligibility, printing not eligible when 19 and eligible when 21.
Explains the PowerShell else-if (LCF) statement using if, elseif, and else blocks to evaluate multiple conditions, with a number example that prints positive, negative, or zero.
Learn how to use PowerShell if, elseif and else statements with a time-based example using get-date and format to determine and print good morning, good day, or good evening.
Learn how the PowerShell switch statement checks multiple conditions, equivalent to a series of if statements, using case blocks, an optional default, and a break to stop after a match.
Explore how a PowerShell switch statement part 2 evaluates an array item by item, printing matches in order, such as 'it is one' and 'it is two'.
Master looping in PowerShell by using for, foreach, while, and do while to execute code blocks, traverse collections, including arrays, and manage loop variables.
Learn the do-while loop, an exit control loop where the condition is checked after the statement; see it print 1 to 10 with a post-increment.
Learn how to use the PowerShell foreach loop to iterate over arrays or collections, assign each item to a variable, and execute a block of statements per item.
declare a string array and iterate with a foreach loop, printing each value to the console.
Master the PowerShell for loop: initialize, test condition, and increment to execute a code block; learn to print values from 1 to 10 with a practical example.
Define a string array, get its length with the length property, and loop from zero to length to print each element to the console, resulting in ABCD.
Master PowerShell while loop, an entry control loop that evaluates a condition first and executes a code block while true, demonstrated by counting from 1 to 5 with post increment.
PowerShell continue statement skips the remaining loop body and starts the next iteration, demonstrated by filtering 1 to 10 to omit 5 in a foreach loop.
Explore how the break statement exits a loop immediately in PowerShell and stops script execution when used outside a switch or loop, illustrated with a for each loop example.
PowerShell is a task automation and configuration management program from Microsoft, consisting of a command-line shell and the associated scripting language. Initially a Windows component only, known as Windows PowerShell, it was made open-source and cross-platform on 18 August 2016 with the introduction of PowerShell Core.
This course provides students with the fundamental knowledge and skills to use Windows PowerShell for administering and automating administration of Windows systems. This course provides students the skills to identify and build the commands they require to perform specific tasks. In addition, students learn how to build scripts to accomplish advanced tasks such as automating repetitive tasks
This course is meant for the beginner who wants to know about PowerShell and some basic scripting with PowerShell.
Please don't wait that others should encourage you to learn this Skill.
Try to identify the need and demand of Today's time, and Grab this opportunity to Learn this new Skill to match pace with Trending Time and Technologies.
I am sure, As soon as you complete this course, You will be very efficient in automation using PowerShell Scripting.
I'm a professional instructor who has helped thousands of students learn to use PowerShell. Come and enjoy the class as you learn this powerful tool.
REMEMBER… I'm so confident that you'll love this course that we're offering a FULL money-back guarantee for 30 days! So it's a complete no-brainer, sign up today with ZERO risk and EVERYTHING to gain.
So what are you waiting for? Click the buy now button and join the world's highest-rated development course.