Browse Forum Posts by Tags

Showing related tags and posts for the PowerShell General forum. See all tags in the site
  • 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
  • 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
  • Re: Remote Powershell - options to run commands?

    Don, So I've read a fair amount since this post and I bought your last book, but I'm looking at the new "lunches series", and I think I'm still a beginner, but do I need to know powershell 1 or 2 before ordering the powershell 3 book series? I've read about 20 contradicting...
    Posted to Ask Don and Jeff (Forum) by virtuallynothere on 06-21-2012
    Filed under: PS Remoting, Remote PowerShell, Powershell, Enter-PSSession
  • 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
  • Powershell- Associate Mount Point to Physical Disk

    I need to be able to associate mount points (Get-WmiObject -Class Win32_MountPoint) with the physical drive on which it resides. Scenario: I have physical disks (SAN LUNs) mounted as folders on an E: drive (also a SAN LUN) of a server. I need to be able to, via a PowerShell script, associate the "folder"...
    Posted to Ask Don and Jeff (Forum) by dbisseg on 07-10-2012
    Filed under: scripts, WMI, Remote PowerShell, Powershell, Mount Point
  • I have bitten off more than I can chew and can't see the forest for the trees...HELP!!!

    I have written the following script but each fix I do breaks 2 other things. For instance I am loading variable data to an .xlsx and it errored that the object was not a string. So I added .ToString method and it now says my passed variable ($computer) loaded using the Get-Content cmdlet is null! Prior...
    Posted to Ask Don and Jeff (Forum) by Oseis on 08-21-2012
    Filed under: PS Remoting, WMI, Remote PowerShell, Powershell, string formatting, script, $env:, Excel, powershell excel
  • reboot a list of servers and output results to file.

    I am new to powershell and i am trying to write a simple script that will reboot a list of machines (XP, and 7) and input the results of the reboots to a text file. I created the below script that reboots the machine and creates the output file, but when I open the file I do not see any results in it...
    Posted to PowerShell General (Forum) by psnewbie2013 on 05-20-2013
    Filed under: Remote PowerShell, #errorlevel, #Logs, Powershell, general, Remote
Page 1 of 2 (12 items) 1 2 Next >
Copyright 2012 PowerShell.com. All rights reserved.