You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gets the Security Identifier (SID) for specified users.
5
+
Gets the Security Identifier (SID) of one or more user accounts.
5
6
6
7
.DESCRIPTION
7
-
Retrieves the Security Identifier (SID) for users by translating their account names.
8
+
This function retrieves the Security Identifier (SID) for specified user accounts, providing flexibility in output format, domain filtering, SID verification, and logging options.
8
9
9
10
.PARAMETERUserName
10
-
Specifies the user names for which to retrieve the SID, accepts an array of user names.
11
+
Specifies the user names for which to retrieve the SID. You can provide a single username or an array of usernames.
11
12
.PARAMETEROutputFormat
12
-
Specifies the format for displaying the output, options: 'Table' (default), 'List', 'JSON'.
13
+
Specifies the output format for displaying the SID information, values are "Table" (default), "List", "JSON", "CSV", "HTML", "XML".
14
+
.PARAMETEROutputPath
15
+
Specifies the path where the file will be created. If provided, output will be saved to a file with the appropriate extension.
13
16
.PARAMETERDomain
14
-
Domain to filter users, if specified, only users from this domain will be processed.
15
-
.PARAMETERLogToFile
16
-
File path to log verbose information.
17
+
Specifies the domain(s) to filter user accounts. If provided, only user accounts from the specified domain(s) will be processed.
18
+
.PARAMETERSIDCheck
19
+
Specifies a SID to check if it belongs to the specified user(s). If provided, only users with a matching SID will be processed.
17
20
.PARAMETERIncludeFullName
18
-
Indicates whether to include the user's full name in the output.
21
+
Includes the user's full name in output. If specified, the output will include the full name; otherwise, it will display "n/a".
0 commit comments