Browse Forum Posts by Tags

Showing related tags and posts for the PowerShell General forum. See all tags in the site
  • Powershell command line arguments - prompt for creds?

    I am trying to find out if I can launch powershell from an app that I use to manage the list of systems I connect to over RDP. I can define 'external apps' in the program and there are quite a few available. I specify powershell.exe as the program to launch, then the app has a field for arguments...
    Posted to Ask Don Jones (Forum) by virtuallynothere on 04-05-2012
    Filed under: Parameter, String Manipulation, Passing arguments from batch file to powershell, PS Remoting, Server 2008 R2, new-pssession, Remote 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
  • Call Exchange shell/cmdlets from Quest Shell - Proper method?

    Hello, I now know the best methods of remoting thanks to Don & the folks here. But I have to use the Quest shell as we utilize their Active Role solution and I need to write a script that runs when something is done to users accounts through that system. I know how to set it up and what commands...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 06-28-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, Remote PowerShell, Active Directory, Powershell
  • Re: Call Exchange shell/cmdlets from Quest Shell - Proper method?

    I tried to do that, but when I run the get-pssnapin - registered the exchange tools don't come back as registered. Then I've read it's not "supported" to add the snapin for the exchange tools in another shell aside from the exchange shell, so you should use a remote connection,...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 06-29-2012
    Filed under: PS Remoting, Server 2008 R2, new-pssession, Remote PowerShell, Active Directory, Powershell
  • Re: Call Exchange shell/cmdlets from Quest Shell - Proper method?

    Thanks, so the tools are installed on the system I need to run this script from, and I got this to work, so is this not recommended either? c:\program files\Microsoft\Exchange\V14\bin\RemoteExchange.ps1 ; connect-ExchangeServer - Auto Is that OK or do I need to do the Remote session noted in your reply...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 07-03-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, new-pssession, Remote PowerShell, Active Directory, Powershell
Page 1 of 1 (5 items)
Copyright 2012 PowerShell.com. All rights reserved.