Search found 5 matches

by mpeled
Wed Dec 27, 2017 10:25 pm
Forum: Customer Service
Topic: install deployed msi file got error
Replies: 1
Views: 5747

install deployed msi file got error

I work with PowerShell GUI 2017 and make the deploy proccess for Windows Installer Package (.msi) file when i try to install it at diffrent computer (64 bit as i sign it) , after the installation when i try to run it we got an error (close window) is there some installation that i need to do at the ...
by mpeled
Thu Dec 07, 2017 10:56 pm
Forum: PowerShell GUIs
Topic: need func conver employeenumber to samaccountname
Replies: 7
Views: 2488

Re: need func conver employeenumber to samaccountname

how can i work with "Get-ADUser" im get an error every time i try to use it in PowerShell GUI 2017
by mpeled
Thu Dec 07, 2017 1:26 pm
Forum: PowerShell GUIs
Topic: need func conver employeenumber to samaccountname
Replies: 7
Views: 2488

need func conver employeenumber to samaccountname

I work with Power Shell GUI 2017 I need to build function that get employeenumber and return the samaccountname , I try the function above but got errors "The property 'System.DirectoryServices.DirectorySearcher' cannot be found on this object. Verify that the property exists and can be set.&qu...
by mpeled
Thu Dec 07, 2017 10:35 am
Forum: PowerShell GUIs
Topic: What's the best way (fast) get users by employeeNumber
Replies: 3
Views: 1663

Re: What's the best way (fast) get users by employeeNumber

This is how to search the Global catalog. Note how we set up the filter and the GC connection. $searcher = [adsisearcher]'(&(objectclass=user)(objectcategory=person)(!employeeNumber=*))' $searcher.$searcher = [adsi]'GC://dc=mylan,dc=local' [void]$searcher.propertiestoload.add('distinguishedname...
by mpeled
Thu Dec 07, 2017 3:25 am
Forum: PowerShell GUIs
Topic: What's the best way (fast) get users by employeeNumber
Replies: 3
Views: 1663

What's the best way (fast) get users by employeeNumber

I want to get all users that dont have employeeNumber , is any way to get it faster then over one by one and check it? I work with PowerShell GUI 2017 my script that i try it: $de = New-Object directoryservices.DirectoryEntry("GC://dc=mylan,dc=local") $ds = new-object directoryservices.dir...