Search found 18 matches

by DeKade
Mon Apr 24, 2017 1:56 am
Forum: PowerShell
Topic: Problems with collection via Invoke-Command
Replies: 10
Views: 5460

Re: Problems with collection via Invoke-Command

Actually it turns out that on WS2008R2 and later that it has been changed to an array and you can set multiple values. I also tested using Invoke-Command and it also fails on multiple values. I suggest reporting this as a bug in the RSAT components. ;) Thanks. What would be the best channel to repo...
by DeKade
Mon Apr 24, 2017 12:51 am
Forum: PowerShell
Topic: Problems with collection via Invoke-Command
Replies: 10
Views: 5460

Re: Problems with collection via Invoke-Command

So you will need to use Invoke-Command to the constrained endpoint. If the endpoint is allowed to execute the commands and has access to the resources it will work. I still cannot understand what question you are asking. As I noted above you cannot use an array for "DepartmentNumber". Tha...
by DeKade
Mon Apr 24, 2017 12:20 am
Forum: PowerShell
Topic: Problems with collection via Invoke-Command
Replies: 10
Views: 5460

Re: Problems with collection via Invoke-Command

Remoting has no requirement to do that. Are you thinking you want to use "Invoke-Command" but it needs to have a target session to connect to. help invoke-command -full JEA is not remoting. It is a way of referring to a special type of restricted endpoint. ? I don't understand. I'm combin...
by DeKade
Sun Apr 23, 2017 11:12 pm
Forum: PowerShell
Topic: Problems with collection via Invoke-Command
Replies: 10
Views: 5460

Re: Problems with collection via Invoke-Command

jvierra wrote:Why do you need to use "Invoke-Command".

"DepartmentNumber" is not an array: https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Because I'm remoting. (using JEA)

also, DepartmentNumber is a Multi value AD field.
by DeKade
Fri Apr 21, 2017 5:45 am
Forum: PowerShell
Topic: Problems with collection via Invoke-Command
Replies: 10
Views: 5460

Problems with collection via Invoke-Command

I'm having trouble setting a customAttribute via PS Remoting. Locally on the server this works perfectly: Set-ADUser testuser-Replace @{DepartmentNumber = @("test1", "test2","test3")} If I try to remote this very same command with Invoke-Command I get this: Invalid type...
by DeKade
Tue Apr 11, 2017 12:08 am
Forum: PowerShell GUIs
Topic: Networkdrives missing in Control set: Textbox browse for folder
Replies: 4
Views: 2604

Networkdrives missing in Control set: Textbox browse for folder

Product, version and build: (*** Please do not write "latest" as a version, specify a version number ***) 32 or 64 bit version of product: 64bit Operating system: Windows 10 Pro 32 or 64 bit OS: 64 PowerShell Version: 5.1.14393.953 DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INF...
by DeKade
Mon Apr 10, 2017 2:04 am
Forum: PowerShell Studio
Topic: how to easily access the generated .config file
Replies: 1
Views: 1748

how to easily access the generated .config file

Beginner question: I noticed that you can select to generate a .config file in the packager settings. I reckon it is possible to add your own values in that file. Is there a "special" way to access that .config file? or do I need to read it with Get-content or something? does the config ha...
by DeKade
Mon Apr 10, 2017 1:49 am
Forum: PowerShell Studio
Topic: Not all cmdlets in intellisense?
Replies: 10
Views: 5317

Re: Not all cmdlets in intellisense?

For example, Get-AdClaimType is not appearing.
Get-ADUser is appearing
by DeKade
Thu Mar 23, 2017 5:02 am
Forum: PowerShell Studio
Topic: Not all cmdlets in intellisense?
Replies: 10
Views: 5317

Re: Not all cmdlets in intellisense?

PowerShell Studio 2017 v5.4.136
by DeKade
Tue Mar 21, 2017 1:05 am
Forum: PowerShell Studio
Topic: Not all cmdlets in intellisense?
Replies: 10
Views: 5317

Re: Not all cmdlets in intellisense?

Unfortunalty rebuilding the cache succeded but did not solve the problem .
Anything else I could try?