-
-
Save Dalmirog-zz/adb70720b3c8281d1809 to your computer and use it in GitHub Desktop.
Import-Module WebAdministration | |
Write-Output "Running on $env:COMPUTERNAME" | |
Get-ChildItem IIS:\AppPools | |
$PoolName = "YOU_APP_POOL_NAME" <- UPDATE THIS | |
$pool = Get-Item "IIS:\AppPools\$PoolName" | |
if ($pool){ | |
"`n`nAppPool $PoolName found in path IIS:\AppPools\$PoolName" | |
} | |
else{ | |
"`n`nAppPool $PoolName NOT found in path IIS:\AppPools\$PoolName" | |
} |
Task ID: ServerTasks-35299
Task status: Success
Task queued: Wednesday, January 6, 2016 10:23 AM
Task started: Wednesday, January 6, 2016 10:23 AM
Task duration: 3 seconds
| Success: Script run from management console
10:23:48 Info | Running script on 1 machines.
10:23:48 Verbose | TentacleTimeout set at 00:05:00
10:23:48 Info | The script will run on the following machines:
10:23:48 Info | - LM57WEBSVC01 at https://lm57websvc01:10933/
10:23:51 Info | The script ran on all machines successfully.
|
| Success: Run script on: LM57WEBSVC01 at https://lm57websvc01:10933/
10:23:48 Info | Sending script to LM57WEBSVC01 at https://lm57websvc01:10933/ with SQUID SQ-LMXWEBSVC01-29FCB213...
10:23:48 Info | Running script on "LM57WEBSVC01"
10:23:51 Info | Script run completed successfully.
|
| Success: Tentacle script execution
10:23:48 Verbose | Running PowerShell script: C:\Users\svc_devtentacle\AppData\Local\Tentacle\Temp\6ef36f68-f08e-4626-96ef-62ff139b0092.ps1
10:23:50 Info | Running on LMXWEBSVC01
| Name State Applications
| ---- ----- ------------
| APIAppPool Started APIService
| /API/Customer
| /API/Order
| /API/Payment
| /API/Product
| /API/ShipmentCompliance
| ASP.NET v4.0 Started
| ASP.NET v4.0 Classic Started
| AVAppPool Started AVService
| CampaignAppPool Started CampaignService
| CatalogAppPool Started CatalogService
| DAAppPool Started /DeviceAtlas
| DataFeedAppPool Started DatafeedService
| DCShipmanAppPool Started /WareHouse/DCShipMan
| DefaultAppPool Started PartnerIntegrationService
| MerchandIntegrationService
10:23:50 Info | DSMAppPool Started DSMService
| EfsRuleAppPool Started /EfsRuleEngine
| FirstlogicServiceAppPool Started FirstlogicService
| FixerUpperAppPool Started /WareHouse/FixerUpperService
| FtdEastOrderSubmissionAp Started /WareHouse/FtdEastOrderSubmissionApi
| pPool
| FulfillmentServiceAppPoo Started FulfillmentService
| l /RoutingService
| /ShippingService
| /SupplierService
| /TrackingService
| /WarehouseProcessingService
| /CarrierService
| /Supplier
| /WarehouseOrderService
| FulfillmentSmokeTestAppP Started /SmokeTest
| ool
| GeneralServicesAppPool Started GeneralService
| /TestAssignments
| /CacheService
| IcePackRuleAppPool Started /IcePackRulesEngine
| InventoryServiceAppPool Started InventoryService
| LoggingServiceAppPool Started LoggingService
| MediaManagementAppPool Started MediaManagementService
| MonitorServiceAppPool Started
| NotificationAppPool Started NotificationService
| /FtdEastOrderStatusBackApi
| OCMServiceAppPool Started OCMService
| OrderServiceAppPool Started OrderService
| ProductServiceAppPool Started ProductService
| PromoAppPool Started SCMService
| PRVDAppPool Started CustomerService
| MonitorService
| TransactionService
| RecommendationsAppPool Started /Recommendations
| ReminderServiceAppPool Started ReminderService
| RewardsServiceAppPool Started RewardsService
| RoutingAppPool Started /Routing
| ScandataServiceAppPool Started ScandataService
| SkynetServiceAppPool Started Skynetservice
| /API/Customer
| /API/Order
| /API/Payment
| /API/Product
| /API/ShipmentCompliance
| TrackingAppPool Started /Tracking
| UPServiceAppPool Started UPService
| VaultAppPool Started PaymentService
| walmartwebAppPool Started /walmartweb
| WCFShippingAppPool Started /WCFShippingService
| WCFTrackingPool Started /WCFTrackingService
| WCFWarehouseProcessAppPo Started /WCFWarehouseProcessingService
| ol
| WHSAppPool Started WarehouseService
| AppPool FulfillmentServiceAppPool found in path IIS:\AppPools\FulfillmentServiceAppPool
10:23:50 Info | ==============================================
| PowerShell exit code: 0
| ==============================================
|
Task ID: ServerTasks-35298
Task status: Failed
Task queued: Wednesday, January 6, 2016 10:21 AM
Task started: Wednesday, January 6, 2016 10:21 AM
Task duration: 4 seconds
10:21:55 Info | Running script on 1 machines.
10:21:55 Verbose | TentacleTimeout set at 00:05:00
10:21:55 Info | The script will run on the following machines:
10:21:55 Info | - DEVODUTIL01 at https://devodutil01:10933/
10:21:59 Verbose | The task failed
|
| Failed: Run script on: DEVODUTIL01 at https://devodutil01:10933/
10:21:55 Info | Sending script to DEVODUTIL01 at https://devodutil01:10933/ with SQUID SQ-DEVODUTIL01-6A1F2A95...
10:21:55 Info | Running script on "DEVODUTIL01"
|
| Failed: Tentacle script execution
10:21:55 Verbose | Running PowerShell script: C:\Users\svc_devtentacle\AppData\Local\Tentacle\Temp\0d05da14-35b7-4c6f-af4c-1f1e784aa6a5.ps1
10:21:58 Error | Get-Item : Cannot find path 'IIS:\AppPools\FulfillmentServiceAppPool' because it does not exist.
10:21:58 Error | At C:\Users\svc_devtentacle\AppData\Local\Tentacle\Temp\0d05da14-35b7-4c6f-af4c-1f1e784aa6a5.ps1:9 char:9
10:21:58 Error | + $pool = Get-Item "IIS:\AppPools$PoolName"
10:21:58 Error | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10:21:58 Error | + CategoryInfo : ObjectNotFound: (IIS:\AppPools\FulfillmentServiceAppPool:String) [Get-Item], ItemNotFoun
10:21:59 Error | dException
10:21:59 Error | + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
10:21:59 Info | Running on DEVODUTIL01
| Name State Applications
| ---- ----- ------------
| DefaultAppPool Started Default Web Site
10:21:59 Info | ==============================================
| PowerShell exit code: 1
| ==============================================
10:21:59 Fatal | PowerShell script returned a non-zero exit code: 1
| Tentacle version 2.6.0.778