sirayla calisan talimatlar toplami.
Loading...
Loading...
calisma alani
PowerShell icin sifirdan pratik ogrenme yolu
once tanim
PowerShell kesin talimatlar yazmak icindir. Burada onu PowerShell icin sifirdan pratik ogrenme yolu olarak ogreniyorsun. Baslangic modeli: girdi adimlardan gecer ve cikti olur.
script.ps1calistir pwsh script.ps1aliskanlik PowerShell icin kucuk bir parca ogren, minimal ornek yaz ve calistirsirayla calisan talimatlar toplami.
deger veridir. degisken bu veriyi tutan isimdir.
girdi alip sonuc ureten isimli kucuk is.
PowerShell 7 script.ps1 icindeki kodu calistirir.
ilk okunur kod
Write-Output 42
cikti 42dil soyu
PowerShell nereden gelir, hangi diller yakindir ve sonra ne ogrenilir.
sifirdan
Soru bankasi
Bir asama sec veya bu dilin soru bankasinda ara ve alistirmaya gec.
PowerShell soru 1. deger yazdirma icin en uygun ifadeyi sec.
PowerShell soru 2. degeri adlandirma icin en uygun ifadeyi sec.
PowerShell soru 3. yeniden kullanilabilir fonksiyon icin en uygun ifadeyi sec.
PowerShell soru 4. temel koleksiyon icin en uygun ifadeyi sec.
PowerShell soru 5. deger yazdirma icin en uygun ifadeyi sec.
PowerShell soru 6. degeri adlandirma icin en uygun ifadeyi sec.
PowerShell soru 7. yeniden kullanilabilir fonksiyon icin en uygun ifadeyi sec.
PowerShell soru 8. temel koleksiyon icin en uygun ifadeyi sec.
PowerShell soru 9. deger yazdirma icin en uygun ifadeyi sec.
PowerShell soru 10. degeri adlandirma icin en uygun ifadeyi sec.
PowerShell soru 11. yeniden kullanilabilir fonksiyon icin en uygun ifadeyi sec.
PowerShell soru 12. temel koleksiyon icin en uygun ifadeyi sec.
PowerShell soru 13. deger yazdirma icin en uygun ifadeyi sec.
PowerShell soru 14. degeri adlandirma icin en uygun ifadeyi sec.
PowerShell soru 15. yeniden kullanilabilir fonksiyon icin en uygun ifadeyi sec.
PowerShell soru 16. temel koleksiyon icin en uygun ifadeyi sec.
PowerShell soru 17. deger yazdirma icin en uygun ifadeyi sec.
PowerShell soru 18. degeri adlandirma icin en uygun ifadeyi sec.
coktan secmeli
PowerShell soru 1. deger yazdirma icin en uygun ifadeyi sec.
Write-Output 42
referans
pwsh script.ps1entry point output syntax Write-Output
Write-Output 42
variables assignment types $
$total = 42 Write-Output $total
function collection Array
function Add($a, $b) {
return $a + $b
}
$scores = @(40, 2)
Write-Output $scores.Count