• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

How to I restart webapppool in powershell?

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2010] >> General >> How to I restart webapppool in powershell? Page: [1]
Login
Message << Older Topic   Newer Topic >>
How to I restart webapppool in powershell? - 8.Feb.2012 12:29:00 AM   
jcman23

 

Posts: 36
Joined: 6.Apr.2011
Status: offline
I want to restart a webapppool in powershell on a remote computer. Using the restart-webapppool <name of app pool> works only on the local machine. IS there a way I can invoke this remotely? Any thoughts?
Post #: 1
RE: How to I restart webapppool in powershell? - 8.Feb.2012 9:47:49 AM   
barbyf

 

Posts: 17
Joined: 3.Feb.2012
Status: offline
I run into this problem with Exchange commands on occasion, I've done a remote session through PowerShell and it works.

Here's a generic documentation on doing remote sessions to another computer:
http://msdn.microsoft.com/en-us/library/windows/desktop/ee706585%28v=vs.85%29.aspx

(in reply to jcman23)
Post #: 2
RE: How to I restart webapppool in powershell? - 14.Feb.2012 9:45:56 PM   
jcman23

 

Posts: 36
Joined: 6.Apr.2011
Status: offline
What was your syntax when running the command? Thx.

(in reply to barbyf)
Post #: 3
RE: How to I restart webapppool in powershell? - 15.Feb.2012 10:29:32 AM   
barbyf

 

Posts: 17
Joined: 3.Feb.2012
Status: offline
This might actually be a little more helpful and specific. It's exactly what I use to connect to exchange remotely.

http://technet.microsoft.com/en-us/library/dd297932.aspx

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<FQDN of Exchange 2010 server>/PowerShell/ -Authentication Kerberos

Import-PSSession $Session

restart-webapppool DefaultAppPool

(in reply to jcman23)
Post #: 4

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2010] >> General >> How to I restart webapppool in powershell? Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter