Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Current User ADSI
private775
Feb 12th, 2015
487
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PowerShell
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
$filter
=
"(&(objectClass=user)(sAMAccountName= $($env:USERNAME)))"
$path
=
(
[
adsisearcher
]
$filter
)
.FindOne
(
)
.Path
$u
=
[
adsi
]
$path
$u
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 min ago | 71.83 KB
dev loader method
CSS | 7 min ago | 0.58 KB
+32k usd crazy stuff
CSS | 16 min ago | 0.58 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 31 min ago | 0.58 KB
dev loader method
CSS | 32 min ago | 0.79 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 41 min ago | 0.79 KB
✅ Admin Password
CSS | 44 min ago | 0.58 KB
dev loader method
CSS | 53 min ago | 0.58 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!