filmov
tv
Crear Alias en Windows 10/11 (PowerShell)
Показать описание
Get-ChildItem
Module:
Microsoft.PowerShell.Management
Gets the items and child items in one or more specified locations.
Examples
Example 1: Get child items from a file system directory
This example gets the child items from a file system directory. The filenames and subdirectory names are displayed. For empty locations, the command doesn't return any output and returns to the PowerShell prompt.
The Get-ChildItem cmdlet uses the Path parameter to specify the directory C:\Test. Get-ChildItem displays the files and directories in the PowerShell console.
Example 2: Get child item names in a directory
This example lists only the names of items in a directory.
The Get-ChildItem cmdlet uses the Path parameter to specify the directory C:\Test. The Name parameter returns only the file or directory names from the specified path.
Example 3: Get child items in the current directory and subdirectories
This example displays .txt files that are located in the current directory and its subdirectories
Example 4: Get child items using the Include parameter
In this example Get-ChildItem uses the Include parameter to find specific items from the directory specified by the Path parameter.
Example 5: Get child items using the Exclude parameter
The example's output shows the contents of the directory C:\Test\Logs. The output is a reference for the other commands that use the Exclude and Recurse parameters.
● Zatiel
💟 Obtén un 10% de descuento en
💟 Usando el código de descuento: ZATIEL10
- Connect with Me! -
● Canal Secundario:
◣Setup Zatiel Build Full Specs◥♡
● GPU: [GTX ASUS 970 Strix 4GB]
● PSU: [XPG Core Reactor 850W]
◣Gaming Gear◥ ♡
● Display 2 : [HP P19b G4 ] (WXGA 1366 x 768)
● Mousepad: Redlemon XL para Teclado y Mouse (80x40cm)
Este tutorial se aplicará a computadoras, computadoras portátiles, computadoras de escritorio y tabletas que ejecutan el sistema operativo Windows 10 (Hogar, Profesional, Empresa, Educación) de todos los fabricantes de hardware compatibles, como Dell, HP, Acer, Asus, Toshiba, Lenovo y Samsung)
This tutorial will apply for computers, laptops, desktops, and tablets running the Windows 11 operating system (Home, Professional, Enterprise, Education) from all supported hardware manufactures, like Dell, HP, Acer, Asus, Toshiba, Lenovo, Huawei and Samsung.
#iwndows #powershell #alias
Комментарии