Browse Forum Posts by Tags

Showing related tags and posts for the Ask the Experts group. See all tags in the site
  • Powershell bug or is it working as designed?

    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...
    Posted to Ask Don Jones (Forum) by freakling on 03-13-2012
    Filed under: Double Negative, Powershell, Bug, If
  • run external command from powershell

    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...
    Posted to Ask Don Jones (Forum) by Troy on 03-14-2012
    Filed under: scripts, Powershell
  • Powershell script - report on AD accounts

    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...
    Posted to Ask Don Jones (Forum) by virtuallynothere on 03-30-2012
    Filed under: Parameter, scripts, Active Directory, Recurse, Powershell
  • Re: Powershell script - report on AD accounts

    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'...
    Posted to Ask Don Jones (Forum) by virtuallynothere on 04-02-2012
    Filed under: Powershell
  • Remote Powershell - profile options

    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...
    Posted to Ask Don Jones (Forum) by virtuallynothere on 04-09-2012
    Filed under: PS Remoting, new-pssession, Remote PowerShell, Powershell
  • Re: Remote PowerShell - profile to roam when connecting to multiple systems?

    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...
    Posted to Ask Don Jones (Forum) by virtuallynothere on 04-09-2012
    Filed under: scripts, PS Remoting, new-pssession, Remote PowerShell, Powershell
  • Windows Feature - Add "As" versus "Add"?

    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
    Posted to Ask Don Jones (Forum) by virtuallynothere on 04-12-2012
    Filed under: Args, Parameter, scripts, Server 2008 R2, Powershell
  • Backup Sharepoint site using Powershell cmdlet

    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...
    Posted to Ask Don Jones (Forum) by skbarnard on 04-12-2012
    Filed under: Backup, Powershell
  • Script to delete home folders for list of users

    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...
    Posted to Ask Don Jones (Forum) by virtuallynothere on 04-17-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, Remote PowerShell, Active Directory, Powershell
  • Set attribute for users in an OU - retrieve value but set fails?

    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...
    Posted to Ask Don Jones (Forum) by virtuallynothere on 04-19-2012
    Filed under: Args, scripts, Active Directory, Powershell
Page 8 of 30 (300 items) « First ... < Previous 6 7 8 9 10 Next > ... Last »
Copyright 2012 PowerShell.com. All rights reserved.