Examples of using This command gets in English and their translations into Portuguese
{-}
-
Colloquial
-
Official
-
Medicine
-
Financial
-
Ecclesiastic
-
Ecclesiastic
-
Computer
-
Official/political
This command gets the"is" alias.
C:\PS> get-counter-ListSet* This command gets all of the counter sets on the local computer.
This command gets the current location.
C:\PS> get-service-computername Server02 This command gets the services on the Server02 remote computer.
This command gets the WINDIR environment variable.
C:\PS> get-service winrm-requiredServices This command gets the services that the WinRM service requires.
This command gets the"man" function from the Function: drive.
C:\PS> get-executionpolicy Restricted Description This command gets the current execution policy for the shell.
This command gets the variables with names that begin with"max.
C:\PS> get-module-listAvailable This command gets the modules that can be imported into the current session.
This command gets a list of all the aliases in the current session.
C:\PS> get-module-listAvailable-all This command gets all of the exported files for all available modules.
This command gets the first(oldest) five samples in the file.
C:\PS> get-service where-object{$_. Status-eq"Stopped"} This command gets a list of all services that are currently stopped.
This command gets the list of all the functions in the current session.
C:\PS> get-event This command gets all events in the event queue.
This command gets a certificate and displays all of its properties.
C:\PS> get-childitem This command gets the child items in the current location.
This command gets all the files and directories in the current directory.
C:\PS> get-history This command gets the 32 most recently submitted commands. .
This command gets information about the disk drives on the Server01 computer.
C:\PS>$c Get-Credential This command gets a credential object and saves it in the$c variable.
This command gets a list of the aliases that are associated with the Get-ChildItem cmdlet.
C:\PS> get-pssession This command gets all of the PSSessions that were created in the current session.
This command gets the modules for the processes that have names that begin with"sql.
C:\PS> get-job-name job* This command gets all jobs that have job names beginning with"job.
This command gets all the files and directories in the current directory by using Get-ChildItem.
C:\PS> get-psbreakpoint This command gets all breakpoints set on all scripts and functions in the current session.
Exclude w* This command gets items in the Windows directory with names that include a dot.
For example, this command gets the PowerShell process on the Server01 and Server02 remote computers.