Tuesday, May 3, 2022

PowerShell 001 - Get-Help, Getting Started






PowerShell runs at a command-line level, it uses verb-noun command structure. It can connect remotely to a networked device and gather data or run processes/services.



                        Get-Command *

            Returns every command the device can run currently.



                        Get-Command *[keyword]*

            Returns every command the device can run that contains the keyword.



                        Get-Help [Verb]-[Noun]

            Provides info on any given command, entries can be updated with "Update-Help"



                        [Verb]-[Noun] | Get-Member

            Returns Verb-Noun command properties
 


                        GAL (Get-Alias)

            Returns all alias commands