Home All courses
Online TrainingContact UsAbout Us
Over lay
Table of Contents

Powershell Tutorial

Introduction to Powershell Managing History of Powershell Commands Cmdlet, Alias, Function and Module in Powershell PSDrive Profile in Windows Powershell Variable Management in Powershell Passing values to parameters from file Creating files and directories Basic File System commands Finding the patterns in files Unique command Replacing patterns in files Comparing objects Sorting objects Other object commands Getting members of an Object Managing processes Managing Jobs IO redirection Piping System Commands Network commands Service Commands WMI(Windows Management Instrumentation) CIM (Common Information Model) Formatting output exporting output XML processing Powershell Module Management Remote computer management

Comparing objects in windows powershell

We can use below command to compare any 2 objects.
 
Compare-Object

Remember that “diff” and “compare” are aliases for this command. Here are some examples on this command. Below image shows how we can use “Compare-Object” command to view the differences between 2 files.

Web development and Automation testing

solutions delivered!!

Logo
Courses
  • Automation Testing
About
  • About Me
Social Media
Copyright 2025 @ www.softpost.org