page contents My title page contents A Blog on Tools, Techniques and Announcements: PowerShell-Day4

Wednesday, August 10, 2016

PowerShell-Day4

Now that we have tried some PowerShell commands, Learned  how to pipe them with another command,

Learned how to export it to the file (XML and  Html)

Lets see what all PowerShell can help us on,

Now for this, you need to understand the downside of windows, you need to understand how windows works, what is a registry, what is an event viewer, different Log files, 

Building a PowerShell Syntax /Command,  won't be difficult,

In today's session, I want to explore the different Modules available in Powershell,

The below command will show you the modules available, I ran this command on a windows 2008 R2 machine with is a Domain Controller


Now we need to import the Active Directory  Module to check all the commands









Once the Import is done, we can see all the commands available in the module






Remember, you Don' t need to learn these commands, you can always use the Get-Help Get-Command -Examples



Using the Example 2, I am able to fetch the details of win7 machine