6 lines
382 B
PowerShell
6 lines
382 B
PowerShell
Get-ChildItem "C:\nginx-1.18.0\myconf" | ForEach-Object { $_.Name }
|
|
Write-Output "---"
|
|
Get-ChildItem "C:\yutongda\tools\jdk8" -ErrorAction SilentlyContinue | Select-Object -First 5 Name
|
|
if (Test-Path "C:\yutongda\tools\jdk8\bin\java.exe") { "JAVA_OK" }
|
|
Get-ChildItem "C:\yutongda" -Filter "node.exe" -Recurse -Depth 5 -ErrorAction SilentlyContinue | Select-Object -First 5 FullName
|