I have a PS script that I use to track my VMWare ESX servers. I need to run it as a service so that I will not be registered forever. Unfortunately, the script is slower if I use a space inside the service, and not just run the script through the powershell console. It takes 2-5 minutes to make calls to the VMWare web service, not a second or so.
Is there some kind of magic that I should use when I cause a space?
You can run the script as a scheduled task.
, , , :
API 2.0 PowerShell PowerShell.Create() ?
, PowerShell, PoshConsole bgHost CodePlex... , , .
, ? , - , , , script .
script , , , , ( runpace, script, ).
( , Set-ExecutionPolicy RemoteSigned ), , PowerShell Windows Services, , , - . - , DNS, ? , , ?
PS: , ServerFault?
Source: https://habr.com/ru/post/1712320/More articles:Какие iPhone API доступны для интернет-игр знакомств? - iphoneПроблема с контентом cocos2d - iphoneHow can I extract the values after = in my string using Perl? - stringhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1712318/subsonic-simplerepository-default-value&usg=ALkJrhh3A2WW_leSWs7ajo-Pp2tXfydt8QHow to emulate shm_open on windows? - windowshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1712321/tools-to-manage-manual-testing-results-possibly-integrated-with-trac&usg=ALkJrhgYcSoYuipvFof7TC3lKQ87MngH6AСуществуют ли поставщики, предоставляющие MSIL/CLR на оборудовании? - clrSplitting activerecord query results into two objects - ruby | fooobar.comHow to do unit testing of file input methods? - c ++FileUpload control cleared - asp.netAll Articles