Introduction: WindowsPowerShell is an enormously accomplished command line tool. PowerShell is being used to automate system administration activities, for example application deployment, maintenance, configuration and management of Windows features and seamlessly use with batch files.
Windows PowerShell is developed on the top of the .Net Framework which helps to invoke the .Net class objects and use it in PowerShell. PowerShell supports various modules to make the Windows administrations never like before. PowerShell’s cmdlet or command-let is a built function. There are numerous cmdlets which are used with built in function or cmdlet to simplify the complex process.
What is PowerShell Core: This is an extension to Windows PowerShell. PowerShell Core is developed using .Net Core. PowerShell Core is cross-platform command line tool which supports Windows, Mac and Linux. The current version of PowerShell Core is 6.
How to Start PowerShell: Below are the ways to start the PowerShell on the Windows Machines. It is always good to run PowerShell as Admin.
- Press Windows Start icon, type PowerShell and choose icon Windows PowerShell.
- Press Windows + R, type PowerShell and hit Enter to open the PowerShell.
How to use in-built PowerShell Help: PowerShell has a Get-Help function which provides documentation, syntax, command parameter details by just pass the command name. Run the command Get-Help Get-Help to get complete details about the Get-Help. This function is extremely useful to get the details about the PowerShell functions. Get-Help common usages: Get-Help basic commands are listed below.
|How to get basic details|
|How to get Full details|
|How to get Specific information|
|How to open online help|
|How to search all the topics with given name|
|How to display list of available topics|
Conclusion: Windows PowerShell can be used to automate manual tasks by using commands or group of logical commands. PowerShell modules like Active Directory, Azure RM can be downloaded from the internet because these does not come with PowerShell installation.
Leave a Reply