Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Connecting to a remote ...

    By Henrik Walther Written by Henrik Walther, Microsoft MVP, the intention of this blog is to deliver the best content when it comes to information, news, tips and tweaks for the Microsoft Exchange Server product on topics such as mobile messaging, MONAD, ... Read More
    Posted to Exchange (Forum) by ps2 on 04-27-2009
    Filed under: Remoting, Exchange 2010
  • Using a single machine to manage multiple Exchange 2010

    By patris1 In this article I will explain what remote PowerShell is and how this new feature makes it possible to manage Exchange 2010 servers within an organization as well as across multiple Exchange 2010 organizations using the Exchange ... Read More
    Posted to Exchange (Forum) by ps2 on 01-20-2010
    Filed under: Remoting
  • EnableStatic() long time out

    I have the following code I use to try to change the settings on our servers from dhcp to static. It gets "hung" up on the enablestatic() peice, I know its because after it changes the ip it looses the connection but how do I get Powershell to either fork off this command or time out earler...
    Posted to Using WMI (Forum) by adrian on 02-27-2010
    Filed under: WMI, Get-WMIObject, Remoting, Win32_NetworkAdapterConfiguration
  • Remoting command with arguments won't work (wuauclt.exe)

    I'm running the following script and everything works except the last command: #wsus-reregister.ps1 param ($computer) Invoke-Command $computer -scriptblock { $RegPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" $RegProperties = "SusClientID","SusClientIDValidation"...
    Posted to Remoting (Forum) by oogabooga on 05-10-2010
    Filed under: Remoting, PowerShell v2
  • New-PSDrive fails remotely

    Hi, When I try to map a drive locally on "Client1", it works fine with this command: New-PSDrive U -PSProvider FileSystem -root \\Server1\C$ but when I try it remotely, it fails ($cred is a previously created credential): Invoke-Command -ComputerName "Client1" -Credential $cred -ScriptBlock...
    Posted to PowerShell v2 (Forum) by kevsor1 on 07-15-2010
    Filed under: PowerShell v2, PowerShell, Remoting, PowerShell 1.0, New-Object, Enable-PSRemoting, Enter-PSSession, Remote Commands, Get-WSManCredSSP, PowerShell 2.0, Enable-WSManCredSSP, New-PSDrive
  • Remoting and using Invoke-Sqlcmd

    I almost have this working but I keep getting a security error. Here's the basic script: $instances = @{"FRITCHEYG1W7"="FRITCHEYG1W7\R208"; "FRITCHEYGW7"="FRITCHEYGW7\R208"} $job = Invoke-Command -ComputerName (Get-Content "c:\scripts\serverlist.txt"...
    Posted to SQL Server (Forum) by Grant Fritchey on 07-16-2010
    Filed under: SQL Server 2008, Invoke-Sqlcmd, invoke-cmd, remoting
  • Performance Difference between InvokeCommand and ImportSession

    I have a C# application that issues commands and scripts (1 or 2 liners) to an Exchange 2010 through remote powershell (Configuration "Microsoft.Exchange"). I found two ways to do this - create a remote session and then (a) using InvokeCommand on that session with my scriptblock or (b) ImportSession...
    Posted to PowerShell for Exchange (Forum) by kumar on 11-10-2010
    Filed under: performance, InvokeCommand, remoting, ImportPSSession
  • .net remote powershell with Exchange 2010 Cmdlets - Problem with "Script block literals are not allowed in restricted language mode or a Data section"

    Hi All, I am trying to run cmdlets from VB.NET. I managed to create a session to a remote session and to run either basic powershell commands or Exchange 2010 cmdlets. However I have a problem when trying to run more complex scripts, like "Get-Mailbox | Where-Object {$_.database -match "database"...
    Posted to PowerShell for Exchange (Forum) by OlivierR on 12-03-2010
    Filed under: remoting, Exchange, script block, remote, powershell, exchange 2010, .net
  • pass local script to remote script block

    Hi, I'm using invoke-command to run script code on a remote computer. I have a file with a library of functions I'd like to pass into the remotely executed script, but I'm only getting the first line. The problem is something to do with my ArgumentList but I can't get one that works....
    Posted to Remoting (Forum) by scottw512 on 12-20-2010
    Filed under: Remoting
  • Remote Powershell on Exchange with computer in different domains.

    Hi, I have an exchange server (2007) that I wish to run powershell cmdlets against. However this exchange server is in a different domain. I have set up a trust, and can now execute remote powershell cmdlets on it. However, I can't run any Exchange Powershell cmdlets. I need this to work in a vb...
    Posted to Remoting (Forum) by OlivierR on 12-23-2010
    Filed under: Remoting, PowerShell v2, exchange 2007
Page 1 of 3 (28 items) 1 2 3 Next >
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.