Search found 28 matches

by alwo23@hotmail.com
Wed Jul 03, 2019 12:06 am
Forum: Windows PowerShell
Topic: Create a line chart with chart.js and powershell
Replies: 0
Views: 891

Create a line chart with chart.js and powershell

Hey everybody, i need help to create a line Chart with PowerShell. I have a pscostumobject: foreach ($item in $objectcollection['getEmailAppUsageUserCounts']) { $objR6 = [PSCustomObject]@{ 'Name' = 'Mail for Mac'; 'Count' = $item.'Mail for Mac'; 'Date' = $item.'Report Date' } $EmailAppUsageUserCount...
by alwo23@hotmail.com
Wed Jan 13, 2016 2:52 am
Forum: Windows PowerShell
Topic: Compare two hashtables
Replies: 9
Views: 4412

Re: Compare two hashtables

I will write back the different to the active directory. Only the changed thinks a need to be update in the active directory.
by alwo23@hotmail.com
Wed Jan 13, 2016 2:43 am
Forum: Windows PowerShell
Topic: Compare two hashtables
Replies: 9
Views: 4412

Re: Compare two hashtables

Ok i have tested it, but the result is: l : Kempten Description : Held des Tages sn : Proper StreetAddress : wwwhomepage : mail : MProper@kempten.de SideIndicator : => l : Kempten Description : Held des Tages sn : Proper StreetAddress : Landstrasse wwwhomepage : www.google.de mail : Test@contoso.com...
by alwo23@hotmail.com
Wed Jan 13, 2016 2:25 am
Forum: Windows PowerShell
Topic: Compare two hashtables
Replies: 9
Views: 4412

Re: Compare two hashtables

Ok. Did you have an example or something else for me?
by alwo23@hotmail.com
Wed Jan 13, 2016 2:04 am
Forum: Windows PowerShell
Topic: Compare two hashtables
Replies: 9
Views: 4412

Re: Compare two hashtables

Yes i know it, but i didnt have the result what i need.

I need a compare key by key and the different in a new hashtable with key an value filtert by SideIndicator.
by alwo23@hotmail.com
Wed Jan 13, 2016 1:44 am
Forum: Windows PowerShell
Topic: Compare two hashtables
Replies: 9
Views: 4412

Compare two hashtables

Hello, i need help to compare two hashtables: Hashtable 1: $replace = @{} $replace['l'] = "Kempten" $replace['Description'] ="Held des Tages" $replace['sn'] = "Proper" $replace['StreetAddress'] = "Landstrasse" $replace['wWWHomePage'] = "www.google.de" $replace['mail'] = "Test@contoso.com" Hashtable ...
by alwo23@hotmail.com
Thu Jan 07, 2016 9:14 am
Forum: Windows PowerShell
Topic: Problem with filling out textbox
Replies: 16
Views: 12479

Re: Problem with filling out textbox

Ok i understood.
Now i need the proxy addresses without smtp:

$smtp = get-aduser -Filter { DisplayName -eq "Nick Schiller" } -prop proxyaddresses | select -exp proxyaddresses
$smtp.TrimStart("smtp:")

Correct?
by alwo23@hotmail.com
Thu Jan 07, 2016 9:02 am
Forum: Windows PowerShell
Topic: Problem with filling out textbox
Replies: 16
Views: 12479

Re: Problem with filling out textbox

Yes thats correct i ask for the attribute IsPrimarySMTPAddress. SmtpAddress : group22@contoso.com AddressString : group22@contoso.com ProxyAddressString : smtp:group22@contoso.com Prefix : SMTP IsPrimaryAddress : False PrefixString : smtp Is that $True than i read it out and put it in the textbox. B...
by alwo23@hotmail.com
Thu Jan 07, 2016 8:27 am
Forum: Windows PowerShell
Topic: Problem with filling out textbox
Replies: 16
Views: 12479

Re: Problem with filling out textbox

I need all addresses the primary and the second, third and so on.

Sorry but this is was the customer need.
by alwo23@hotmail.com
Thu Jan 07, 2016 8:08 am
Forum: Windows PowerShell
Topic: Problem with filling out textbox
Replies: 16
Views: 12479

Re: Problem with filling out textbox

The problem is a user without an Exchange Mailbox has also an mail Attribute. Only the attribute mailboxguid is on the user which has an mailbox. And the other problem is the other emailaddresses are only in the exchange attribute Emailaddresses and this one is an multivalue field. I take this with:...