![]() ![]() recycle an iisapppool using get-wmiobject in. ![]() This swaps the current application pools worker. So everytime I run get-wmiobject -class IISApplicationPool -namespace root\MicrosoftIISv2 I get the error: 'Invalid Namespace'. IIS automatically applies changes to the application pool configuration by doing an overlapped recycle. This is an overkill for your question, but you might be interested in the general alternate approach to do something in parallel on the several servers: 'server2', 'server3')Įcho $(Get-Wmiobject -Class Win32_ComputerSystem). What im wanting to do is be able to recycle or restart an IIS AppPool within the powershell session.
0 Comments
Leave a Reply. |