Per English vote, it is your vote and the only business we have commenting
is whether we like it or not, IF we have some ties to England.  I don't so
no comment.

Jon

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of James Rankin
Sent: Monday, June 27, 2016 11:52 AM
To: [email protected]
Subject: [NTSysADM] RE: PowerShell weaknesses

They be brackets.

 

As inventors of the language, our claim is unassailable.

 

Nobody mention anything about current affairs with regard to England - I'm
already sick of holding my tongue on Twitter when I see people from other
countries criticizing our right to vote as we feel right. J

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Webster
Sent: 27 June 2016 16:15
To: [email protected]
Subject: [NTSysADM] RE: PowerShell weaknesses

 

Brackets? Looks like parenthesis to me???

 

Must be a English English thang. J

 

 

Webster

 

From: [email protected] <mailto:[email protected]>
[mailto:[email protected]] On Behalf Of James Rankin
Sent: Monday, June 27, 2016 9:41 AM
To: [email protected]
Subject: [NTSysADM] RE: PowerShell weaknesses

 

Doh!

 

Put it in brackets would be the thing I'm missing

 

(Get-ADUser -filter jrankin -Properties mail).mail

 

Never mind.. J

 

 

From: James Rankin 
Sent: 27 June 2016 15:39
To: '[email protected]' <[email protected]>
Subject: PowerShell weaknesses

 

How can I used Get-ADUser to query a single attribute for a specific user?
If I use something like

 

Get-ADUser -filter jrankin -Properties mail

 

To query the email address in AD, I don't just get that attribute returned,
I get a bunch of default stuff too.

 

DistinguishedName : CN=James Rankin,OU=Desktop1,OU=Standard Users,OU=User
Accounts,DC=JRR,DC=test,DC=local

Enabled           : True

GivenName         : James

mail              : [email protected] <mailto:[email protected]> 

Name              : James Rankin

ObjectClass       : user

ObjectGUID        : 694d15e1-d550-483a-8f21-cb7415f05342

SamAccountName    : jrankin

SID               : S-1-5-21-2950944927-1203068717-1704750700-1114

Surname           : Rankin

UserPrincipalName : [email protected] <mailto:[email protected]> 

 

Am I missing something blatantly obvious here?

 

Cheers,

 

 

James Rankin

EUC Solutions Architect | 07809 668579 | [email protected]

One Trinity Green, Eldon Street, South Shields, Tyne & Wear, NE33 1SA

Tel: 0191 481 3446

 




Reply via email to