Browse Forum Posts by Tags

Showing related tags and posts for the Ask the Experts group. See all tags in the site
  • new-pssession - PS Remoting scripts as scheduled tasks.

    I have a product installed in my environment called 'Citrix Xenapp Connector for SCCM 2007'. The installation creates a few scheduled tasks which run powershell scripts and use the new-pssession cmdlet. The tasks run under a domain account that has local admin rights on the server SCCM Site server...
    Posted to Ask Don Jones (Forum) by garethb on 01-12-2012
    Filed under: scripts, scheduled task, PS Remoting, Server 2008 R2, new-pssession
  • 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 JakeS 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
  • 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 JakeS on 04-12-2012
    Filed under: Args, Parameter, scripts, Server 2008 R2, 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 JakeS on 04-17-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, Remote PowerShell, Active Directory, Powershell
  • Script/command - query sql server & configure firewall rules?

    I am trying to find a way to use powershell to query a sql server and provide back the instance names with the port numbers used, then ideally get the port numbers and add them to specific rules I create for the Windows firewall. Currently I use the netsh commands for the firewall config and go to the...
    Posted to Ask Don Jones (Forum) by JakeS on 04-25-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, WMI, Database, Powershell, List
  • Re: Windows Feature - Add "As" versus "Add"?

    Thanks, I looked at the results of Get-WindowsFeature as-net-framework and compared that to the Get-WindowsFeature NET-Framework-Core and the only output is the "name" and that just shows the 1st as being As-Net-Framework and the other is the Net-Framework-Core, but I don't see any difference...
    Posted to Ask Don Jones (Forum) by JakeS on 04-26-2012
    Filed under: Parameter, Server 2008 R2, 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 JakeS 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 JakeS 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 JakeS on 07-03-2012
    Filed under: scripts, PS Remoting, Server 2008 R2, new-pssession, Remote PowerShell, Active Directory, Powershell
  • Remote Powershell - options to run commands?

    Hi - I realize thanks to Don that remote "profiles" aren't exactly possible right now in Powershell. But if I want to remote into 1 system that has the tools I need, Exchange mgmt shell, AD shell, quest cmdlets, etc, how can I remote into that system, have a custom shell open so that I...
    Posted to PowerShell Remoting (Forum) by JakeS on 05-24-2012
    Filed under: scripts, Active Directory, PS Remoting, Server 2008 R2, Remote PowerShell, Powershell
Page 1 of 2 (14 items) 1 2 Next >
Copyright 2012 PowerShell.com. All rights reserved.