-
I'll start off explaining the scenario. i'm using a get-permissions > XML in another script. I'm then using a if to read which permissions to set. $delegation = <array of all accounts nestled in xml> of the 7 trustees i have nestled the first two are gpocustom, and the last two are...
-
Hi is it possible to run an external command like telnet repeatedly from powershell? I need to telnet several servers and login automatically. i need to run something like this: $list = get-content c:\serverlist.txt foreach ($_ in $list) { start-process telnet -a $_ (this doesnt log me in with current...
-
Howdy, I am trying a new script that is hopefully easier than the last I tried. I have a server that performs actions to create, modify, and disable user accounts. I have a command that retrieves the list of users I need to report on and now I am not sure how to get to the next steps of creating this...
-
Thank you for the helpful response, I appreciate it! I have been trying exactly that as well as a few other things and I can't get this to work, I keep getting an error with the get-qaduser command. The error I am getting is: Get-QADUser : Cannot validate argument on parameter 'Identity'...
-
Hello, What can I do if I want to get the same profile when I remote into systems using PowerShell? I want to be able to list the modules and snappins available, change the console color, etc. I have tried using some info I googled for about configuring a profile on a remote system, but that fails, I...
-
Don, Thanks yet again for the great answer, it seems like alot of people had workarounds where they were doing something to get a specific profile on a remote system. Now I know the real answer :) Is it possible to at least get a different console color, font, or so forth to make it easy to identify...
-
Does anyone know what the difference between these 2 commands are in terms of what they do considering both add windows features? The "AS" is what I can't find online details on. Add-WindowsFeature as-net-framework The standard seems to be: Add-WindowsFeature Net-Framework
-
Trying to backup a site collection in Sharepoint 2010 using the Sharepoint management shell and cmdlet - Export-SPWeb It looks like it's starting to work but then it bombs with an error: Export-SPWeb : Feature 'aebdd598-142f-4a93-8aa5-54f66b776cdf' for list template '11111' is not...
-
I am trying to find a way to modify the script below or if anyone has a script that will delete home folders for a list of users if the user names are specified in a text or csv file, can anyone help? I would like to delete the user accounts as well, but the home folders is fine for now. I want to do...
-
I am trying to set a virtual attribute that currently exists for all users in a specific OU. I can retrieve the attribute value and user name fine using the command below, but then I tried to set the value and that fails in the command below, and also in the script below. I'm trying to get help on...