사용자 도구

사이트 도구


cloud:azure:powershell

PowerShell

  1. 명령어 찾기
    Get-Command -CommandType application
    Get-Command -CommandType application | Where-Object {$_.Name -like "*.cpl"}
    Get-Command -CommandType application | Where-Object {$_.Name -like "*.msc"}
    Get-Command -CommandType application | Where-Object {$_.Name -like "*.exe"}
    Get-Command -CommandType application | Where-Object {$_.Name -like "b*.exe"}
  2. 윈도우 시작시간(부팅시간) (wmic os get lastbootuptime)
    C:\Users\Administrator>wmic os get lastbootuptime
    LastBootUpTime
    20180617012838.487653+540

    ⇒ 2018-06-17 01:28:38 부팅

  3. 윈도우 로그인시간 (quser.exe)
    PS C:\Users\DynamicLearning> quser.exe
     사용자 이름           세션 이름          ID  상태    유휴 시간  로그온 시간
    >dynamiclearning       console             6  활성        23:45  2018-02-28 오전 8:27
  4. 파일찾기
    Get-ChildItem -Path c:\ -Filter *.avi -Recurse

참고링크

cloud/azure/powershell.txt · 마지막으로 수정됨: 2018/06/17 01:49 저자 starlits