[파워쉘]로컬사용자 리스트 추출
# Script/Powershell2016. 1. 4. 18:07[파워쉘]로컬사용자 리스트 추출

Get-WmiObject -Class Win32_UserAccount -Filter "LocalAccount='True'" | Select PSComputername, Name, Status, Disabled, AccountType, Lockout, PasswordRequired, PasswordChangeable, SID 출처 : https://mcpmag.com/articles/2015/04/15/reporting-on-local-accounts.aspx

[vmware]스냅샷 걸려있는 vm리스트 보기
# Virtualation/Private Cloud2015. 8. 16. 06:30[vmware]스냅샷 걸려있는 vm리스트 보기

powershell 설치되어 있어야함 vSphere PowerCLI]connect-viserver server [vcenter ip] vSphere PowerCLI] C:\Program Files\VMware\Infrastructure\vSphere PowerCLI> get- vm|get-snapshot | Select @{Name="VM"; Expression={$_.VM.Name}}, @{Name="Snaps hot"; Expression={$_.Name}}, @{Name="Snapshot_Description"; Expression={$_.description}}

image