PowerShell, sistem yöneticileri ve IT profesyonellerinin ihtiyaç duyduğu güçlü bir otomasyon ve yönetim aracı olarak yaratılmıştır. Bu nedenle, sistem yapılandırması ve ağ ayarları hakkında detaylı bilgi edinmeyi sağlayan bir dizi cmdlet sunmaktadır.
Get-ComputerInfo cmdleti, işletim sistemi bilgisi, donanım özellikleri, BIOS detayları ve daha fazlası dahil olmak üzere kapsamlı sistem bilgilerini alır. Bu komut, tüm sistem yapılandırmasının anlık bir görüntüsünü tek bir komutla sağlar. Geleneksel karşılığı olan systeminfo komutu ise aynı bilgilerin yalnızca küçük bir kısmını sunar.
Örneğin:
Bu komut, sistemin işletim sistemi sürümü, donanım bilgileri ve kurulum tarihini gibi çok sayıda detayı verir.
Get-LocalUser cmdleti ise sistemdeki tüm yerel kullanıcı hesaplarını listelemeye yarar. Çıktıda her kullanıcı için kullanıcı adı, hesap durumu ve açıklama yer alır. Bu bilgi, kullanıcı hesaplarını yönetmek ve makinenin güvenlik yapılandırmasını anlamak için gereklidir.
Örneğin:
Bu komut, sistemdeki kullanıcı hesaplarını ve her birinin etkin olup olmadığını gösterir.
Geleneksel ipconfig komutuna benzer olarak, ağ yapılandırmasıyla ilgili detaylı bilgi almak için şu iki cmdlet kullanılabilir:
Get-NetIPConfiguration cmdleti, sistemdeki ağ arabirimleri hakkında detaylı bilgi sağlar, IP adresleri, DNS sunucuları ve ağ geçidi yapılandırmaları dahil.
Örneğin:
Bu komut, sistemdeki Ethernet bağlantısının IP adresini, ağ geçidi ve DNS sunucu adresini gösterir.
Eğer ağ arabirimlerine atanmış IP adresleri hakkında daha fazla bilgiye ihtiyaç varsa, Get-NetIPAddress cmdleti, sistemdeki tüm IP adreslerini ve bunların aktif olup olmadığını gösterir.
Örneğin:
Bu komut, ağ arabirimlerine atanmış tüm IP adreslerini listeler.
Bu cmdlet'ler, IT profesyonellerine komut satırından sistem ve ağ bilgilerine hızlıca erişim sağlama yeteneği sunar, böylece yerel ve uzak makinelerin yönetimini kolaylaştırır.
English Translation:
PowerShell was created to address a growing need for a powerful automation and management tool to help system administrators and IT professionals. As such, it offers a range of cmdlets that allow the retrieval of detailed information about system configuration and network settings.
The Get-ComputerInfo cmdlet retrieves comprehensive system information, including operating system information, hardware specifications, BIOS details, and more. It provides a snapshot of the entire system configuration in a single command. Its traditional counterpart systeminfo retrieves only a small set of the same details.
For example:
This command provides detailed information about the operating system version, hardware, and installation date of the system.
The Get-LocalUser cmdlet lists all local user accounts on the system. The default output shows the username, account status, and description for each user. This information is essential for managing user accounts and understanding the machine’s security configuration.
For example:
This command lists the user accounts on the system and their statuses.
Similar to the traditional ipconfig command, the following two cmdlets can be used to retrieve detailed information about the system’s network configuration:
The Get-NetIPConfiguration cmdlet provides detailed information about network interfaces, including IP addresses, DNS servers, and gateway configurations.
For example:
This command shows the IP address, gateway, and DNS server for the Ethernet connection.
If more specific details about the IP addresses assigned to the network interfaces are needed, the Get-NetIPAddress cmdlet will show all IP addresses, including those that are not currently active.
For example:
This cmdlet lists all IP addresses assigned to the network interfaces.