Skip to content

Commit ec51bb6

Browse files
author
root
committed
export_user_login_using_csvde.md v2
1 parent 3c92de1 commit ec51bb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Export users logins residing in an OU and outputs to .csv file using csvde
22

33

4-
'''
4+
```
55
#Define the OU we're looking in (-d) and output to file (-f)
66
csvde -d "ou=Finance,ou=users,ou=Kingston,dc=meridian,dc=local" -f .\users.csv
77
@@ -11,4 +11,4 @@ Import-Csv .\users.csv | select UserPrincipalName | Export-Csv -Path .\output.cs
1111
#Simple "press any key to continue" prompt
1212
Write-Host "Press any key to continue ..."
1313
$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
14-
'''
14+
```

0 commit comments

Comments
 (0)