UserID <SID> いいえ Data <String[]> いいえ <named-data> <String[]> いいえ<named-data> キーは、名前付きイベント データ フィールドを表します。 たとえば、Perflib イベント 1008 には次のイベント データを含めることができます。XML...
Sid[in, 必需]包含配置 Shell 启动器的用户或组的安全标识符 (SID) 的字符串。壳[out,必需]Shell 启动程序作为 shell 启动的应用程序或可执行文件。CustomReturnCodes[out,必需]shell 应用程序返回的自定义返回代码数组。CustomReturnCodesAction[out,必需]自定义返回代码操作的数组,用于确定 Shell 启动程序在 ...
UserID金鑰可以採用有效的安全性識別碼 (SID) 或可用來建構有效System.Security.Principal.NTAccount 物件的功能變數名稱。 [數據]值會採用未命名字段中的事件數據。 例如,傳統事件記錄檔中的事件。 <named-data>索引鍵代表具名事件數據欄位。 當無法解譯索引鍵/值組時Get-WinEvent,它會將索...
Distribution group update based on AD attributes – PowerShell Monitor Windows Services status Remotely Export Reverse DNS PTR Records Schedule Task Monitor Script Monitor and alert Windows Services status Exchange 2010 Health Check Get Network Info from list of servers – DNS, IP, WINS Export Active...
Get-LocalGroupMember[[-Member] <String>] [-SID] <SecurityIdentifier> [<CommonParameters>] 说明 Get-LocalGroupMembercmdlet 从本地组获取成员。 备注 Microsoft.PowerShell.LocalAccounts 模块在 64 位系统上的 32 位 PowerShell 中不可用。 示例
wmic useraccount where name='%username%' get sid Get SID for current logged in domain user Run the command ‘whoami /user’ from command line to get the SID for the logged in user. Example: c:\>whoami /user USER INFORMATION --- User Name SID ===...
To display the properties of a specific user, use the–Identityparameter. Identity can be a username, login (SAMAccountName), DN (Distinguished Name), SID, or GUID. The following PowerShell commands will return the same result for the same AD user account: ...
PowerShell Copy Get-WinEvent [-MaxEvents <Int64>] [-ComputerName <String>] [-Credential <PSCredential>] [-FilterXml] <XmlDocument> [-Oldest] [<CommonParameters>] Description This cmdlet is only available on the Windows platform. The Get-WinEvent cmdlet gets events f...
PowerShell PS C:\>Get-AppxPackage-NamePackage1 –User domain\username 相关主题 Add-AppxPackage Get-AppxPackageManifest Remove-AppxPackage Get-AppxLog Get-AppxLastError Package Manager API How to Add and Remove Apps
Audit Failure Event ID 4675 SID Filtering Audit object access properties window dimmed out Audit software installation Auditing Permission Changes on a Folder Authoritatve DHCP Server Auto log off of user auto power on and shut doen in windows server standard 2012 R2 Automatic shutt...