|  28.08.2015, 13:11 | #1 | 
| Участник | goshoom: List AOS services with colors 
			
			Источник: http://dev.goshoom.net/en/2015/08/li...s-with-colors/ ============== Here I have a little Powershell script, written mainly for demonstration purposes, nevertheless it does its job and may be useful to somebody. It connects to any number of servers, finds Dynamics AX AOS services there and shows them in green or red, depending on whether they’re running or not. $listOfComputers = 'Server1','Server2' $listOfComputers ` | % {gsv aos* -comp $_ ` | % {Write-Host $_.DisplayName -f @('Green', 'Red')[$_.Status -ne 'Running']}} Output:  Hail Powershell! Источник: http://dev.goshoom.net/en/2015/08/li...s-with-colors/ 
				__________________ Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. | 
|  | 
|  | 
| 
 |