PowerShell - Удаленный запуск WINSAT

Аватара пользователя
sysop200

PowerShell - Удаленный запуск WINSAT

Сообщение sysop200 »

Доброго всем!

пишу скрипт на PoSH, который собирает статистику по производительности ПК. На некоторых ПК ни разу не запускалась тулза winsat, если так, то я ее пытаюсь запусть внутри скрипта вот так:



Код:

Код: Выделить всё

Invoke-Command -ConfigurationName microsoft.powershell -ComputerName localhost -command {c:\windows\system32\winsat.exe formal -restart}

В результате скрипт успешно заканчивает работу, тулза статистику не собирает, в логах тулзы вот такое вот безобразие:





Код:

Код: Выделить всё

29612250 (11608) - exe\logging.cpp:0841: --- START 2020\7\10 17:55:03 ---
29612296 (11608) - exe\main.cpp:4368: WinSAT registry node is created or present
29612328 (11608) - exe\main.cpp:4399: Command Line = "C:\windows\system32\winsat.exe" formal -restart
29612484 (11608) - exe\main.cpp:4021: INFO: The axe results path environment variable is not set. Assuming we aren't running under AXE.
29612500 (11608) - exe\main.cpp:4505: INFO: Winsat is not running in AXE mode.
29612546 (11608) - exe\processwinsaterror.cpp:0146: ERROR: tried to read resource strings, unknown exception occured
29612625 (11608) - exe\main.cpp:4598: > IsFormal=TRUE  IsMoobe=FALSE.
29612640 (11608) - exe\watchdog.cpp:0113: WatchDogThreadProc Launched with priority 0
29612671 (11608) - exe\main.cpp:4697: Watch dog system enabled
29612687 (11608) - exe\main.cpp:4712: Main watch dog timer set to 600.0 seconds
29612703 (11608) - exe\main.cpp:3014: A failure occured while trying to read partial assessments from the datastore.  Running full assessment
29612734 (11608) - exe\main.cpp:2536: > DWM not running.
29612734 (11608) - exe\main.cpp:2501: > EMD service will be restored on exit.
29613343 (11608) - d3d\dx9misc.cpp:1035: HRESULT = 8876086c
29613343 (11608) - d3d\dx9misc.cpp:1035: ??????: ?? ??????? ??????? D3D ??????????
29613343 (11608) - d3d\dx9misc.cpp:1035: ??????: ?? ??????? ????????? ??????????? ??????????, ?????? ??? ?? ????? ???? ??????? D3D ??????????
29613343 (11608) - exe\processwinsaterror.cpp:0298: Unspecified error 24 occured.
29613343 (11608) - exe\processwinsaterror.cpp:0319: Writing exit code, cant msg and why msg to registry 
29613343 (11608) - exe\main.cpp:2769: > Successfully reenabled EMD.
29613375 (11608) - exe\watchdog.cpp:0339: Watch dog system shutdown
29613375 (11608) - exe\main.cpp:5045: > exit value = 24.

Есть у кого-нибудь опыт подобных запусков и как результат опыт решение этой проблемы?
Аватара пользователя
Ageron

Re: PowerShell - Удаленный запуск WINSAT

Сообщение Ageron »

Цитата sysop200:



Есть у кого-нибудь опыт подобных запусков и как результат опыт решение этой проблемы?
PowerShell - Удаленный запуск WINSAT




запустите локально на проблемном компьютере, и покажите лог.

насколько помню есть проблемы запуска, если нет проигрывателя по умолчанию для видео файлов или не установлены кодеки
Аватара пользователя
Foreigner

Re: PowerShell - Удаленный запуск WINSAT

Сообщение Foreigner »

Я не понимаю в чем проблема, если не стоит проигрыватель Изображение

вопрос в том, почему не работает если запустить через скрипт, и работает если запустить руками.

Если запускать через cmd руками, без скрипта, то вот, все нормально:



Код:

Код: Выделить всё

431000 (5400) - exe\logging.cpp:0841: --- START 2020\7\12 17:49:39 ---
431109 (5400) - exe\main.cpp:4368: WinSAT registry node is created or present
431203 (5400) - exe\main.cpp:4399: Command Line = winsat  formal -restart
431546 (5400) - exe\main.cpp:4021: INFO: The axe results path environment variable is not set. Assuming we aren't running under AXE.
431609 (5400) - exe\main.cpp:4505: INFO: Winsat is not running in AXE mode.
431640 (5400) - exe\processwinsaterror.cpp:0146: ERROR: tried to read resource strings, unknown exception occured
431687 (5400) - exe\main.cpp:4598: > IsFormal=TRUE  IsMoobe=FALSE.
431703 (5400) - exe\watchdog.cpp:0113: WatchDogThreadProc Launched with priority 0
431734 (5400) - exe\main.cpp:4697: Watch dog system enabled
431781 (5400) - exe\main.cpp:4712: Main watch dog timer set to 600.0 seconds
431875 (5400) - common\winsatutilities.cpp:1068: PNPID from DX9 call = PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
432015 (5400) - common\winsatutilities.cpp:1134: Index [0]: PNPID = PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
432015 (5400) - common\winsatutilities.cpp:1158: Matching device PnPID is PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
432203 (5400) - common\winsatutilities.cpp:1134: Index [1]: PNPID = ROOT\BasicDisplay
432875 (5400) - exe\main.cpp:2521: > DWM Running.
432875 (5400) - exe\main.cpp:2528: > turning off DWM.
432875 (5400) - exe\main.cpp:2501: > EMD service will be restored on exit.
433578 (5400) - exe\main.cpp:0821: > WinSAT info: Version=V10.0 Build-17763.1158
433593 (5400) - exe\main.cpp:0953: > IsOfficial=TRUE  IsFormal=TRUE  IsMoobe=FALSE  RanOverTs=FALSE  RanOnbatteries=FALSE
433593 (5400) - exe\main.cpp:3831: > Power 'execution' request successfully set.
433593 (5400) - exe\main.cpp:1769: > Run Assessment features 
433593 (5400) - common\winsatutilities.cpp:1068: PNPID from DX9 call = PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
433593 (5400) - common\winsatutilities.cpp:1134: Index [0]: PNPID = PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
433593 (5400) - common\winsatutilities.cpp:1158: Matching device PnPID is PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
433593 (5400) - common\winsatutilities.cpp:1134: Index [1]: PNPID = ROOT\BasicDisplay
433593 (5400) - exe\main.cpp:1769: > Run Assessment dwm -aname DWM -time 10 -fbc 10 -disp off -normalw 1 -alphaw 2 -width 1280 -height 1024 -winwidth C(1144) -winheight C(915) -rendertotex 6 -rtdelta 3 -nolock
433593 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
450687 (5400) - exe\processresults.cpp:4125: > Wrote video memory bandwidth to the registry 6719770
450687 (5400) - exe\main.cpp:2044: > DWM Assessment results processing SUCCESS
450687 (5400) - exe\main.cpp:1769: > Run Assessment d3d -aname Batch -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 300 -batchcnt C(10) -objs C(26) -rendertotex 6 -rtdelta 3 -texpobj C(1)
450703 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
450718 (5400) - d3d\graphicsop.cpp:0294: D3D Assessment was called but intentionally not run. Instead, we provide predefined metrics and scores.
451078 (5400) - exe\main.cpp:1769: > Run Assessment d3d -aname Alpha -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 300 -batchcnt C(75) -objs C(26) -rendertotex 6 -rtdelta 3 -texpobj C(1)
451078 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
451093 (5400) - d3d\graphicsop.cpp:0294: D3D Assessment was called but intentionally not run. Instead, we provide predefined metrics and scores.
451343 (5400) - exe\main.cpp:1769: > Run Assessment d3d -aname Tex -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 500 -batchcnt C(125) -objs C(20) -noalpha -texshader -totaltex 10 -texpobj C(4) -rendertotex 6 -rtdelta 3
451343 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
451343 (5400) - d3d\graphicsop.cpp:0294: D3D Assessment was called but intentionally not run. Instead, we provide predefined metrics and scores.
451968 (5400) - exe\main.cpp:1769: > Run Assessment d3d -aname ALU -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 500 -batchcnt C(125) -objs C(20) -noalpha -alushader -totaltex 10 -texpobj C(1) -rendertotex 6 -rtdelta 3
451968 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452000 (5400) - d3d\graphicsop.cpp:0294: D3D Assessment was called but intentionally not run. Instead, we provide predefined metrics and scores.
452375 (5400) - exe\main.cpp:1769: > Run Assessment d3d -dx10  -aname Batch -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 300 -batchcnt C(10) -objs C(26) -rendertotex 6 -rtdelta 3 -texpobj C(1)
452375 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452375 (5400) - d3d\graphicsop.cpp:0215: Driver is not WDDM 1.1 or WDDM 1.2; aborting DX10 assessment.
452375 (5400) - exe\main.cpp:1769: > Run Assessment d3d -dx10  -aname Alpha -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 300 -batchcnt C(75) -objs C(26) -rendertotex 6 -rtdelta 3 -texpobj C(1)
452390 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452390 (5400) - d3d\graphicsop.cpp:0215: Driver is not WDDM 1.1 or WDDM 1.2; aborting DX10 assessment.
452390 (5400) - exe\main.cpp:1769: > Run Assessment d3d -dx10  -aname Tex -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 500 -batchcnt C(125) -objs C(20) -noalpha -texshader -totaltex 10 -texpobj C(4) -rendertotex 6 -rtdelta 3
452390 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452390 (5400) - d3d\graphicsop.cpp:0215: Driver is not WDDM 1.1 or WDDM 1.2; aborting DX10 assessment.
452390 (5400) - exe\main.cpp:1769: > Run Assessment d3d -dx10  -aname ALU -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 500 -batchcnt C(125) -objs C(20) -noalpha -alushader -totaltex 10 -texpobj C(1) -rendertotex 6 -rtdelta 3
452390 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452390 (5400) - d3d\graphicsop.cpp:0215: Driver is not WDDM 1.1 or WDDM 1.2; aborting DX10 assessment.
452390 (5400) - exe\main.cpp:1769: > Run Assessment d3d -dx10  -aname GeomF4 -time 7 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 150;200;241 -batchcnt C(50);C(200);C(300) -objs C(12);C(26);C(45) -noalpha -geomf4shader -texpobj C(0) -rendertotex 6 -rtdelta 3 -tierframes 60 -tiertime 1
452390 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452390 (5400) - d3d\graphicsop.cpp:0215: Driver is not WDDM 1.1 or WDDM 1.2; aborting DX10 assessment.
452406 (5400) - exe\main.cpp:1769: > Run Assessment d3d -dx10  -aname GeomV8 -time 7 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 75;100;120 -batchcnt C(25);C(100);C(150) -objs C(8);C(17);C(29) -noalpha -geomv8shader -texpobj C(0) -rendertotex 6 -rtdelta 3 -tierframes 60 -tiertime 1
452406 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452406 (5400) - d3d\graphicsop.cpp:0215: Driver is not WDDM 1.1 or WDDM 1.2; aborting DX10 assessment.
452406 (5400) - exe\main.cpp:1769: > Run Assessment d3d -dx10  -aname CBuffer -time 5 -fbc 10 -disp off -animate 10 -width 1280 -height 1024 -totalobj 75 -batchcnt C(25) -objs C(8) -rendertotex 6 -rtdelta 3 -texpobj C(1) -cbuffershader -cbufa 2 -cbuff 5 -cbufp 6
452406 (5400) - d3d\graphicsop.cpp:0193: GraphicsOp::AssessmentThread Launched with priority 0
452406 (5400) - d3d\graphicsop.cpp:0215: Driver is not WDDM 1.1 or WDDM 1.2; aborting DX10 assessment.
452406 (5400) - exe\main.cpp:1769: > Run Assessment moobego 
452406 (5400) - exe\main.cpp:1769: > Run Assessment cpu -encryption -up
452437 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
452437 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
452437 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
462718 (5400) - exe\main.cpp:1769: > Run Assessment cpu -compression -up
462750 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
462812 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
462828 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
472828 (5400) - exe\main.cpp:1769: > Run Assessment cpu -encryption2 -up
473328 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
473437 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
473484 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
483593 (5400) - exe\main.cpp:1769: > Run Assessment cpu -compression2 -up
483609 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
483609 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
483609 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
493640 (5400) - exe\main.cpp:1769: > Run Assessment cpu -encryption
493656 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
493656 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
493656 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
493656 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
493656 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
493656 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
493656 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
493656 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
493656 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
503859 (5400) - exe\main.cpp:1769: > Run Assessment cpu -compression
503859 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
503859 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
503859 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
503859 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
503859 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
503859 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
503875 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
503875 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
503875 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
514062 (5400) - exe\main.cpp:1769: > Run Assessment cpu -encryption2
514062 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
514062 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
514062 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
514062 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
514062 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
514062 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
514062 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
514078 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
514078 (5400) - cpu\encryption.cpp:0164: CPU Encryption thread priority changed to 15
517250 (5400) - exe\main.cpp:1769: > Run Assessment cpu -compression2
517250 (5400) - exe\winsatop.h:1134: Adjusted the priority to 2
517250 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
517250 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
517250 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
517250 (5400) - exe\winsatop.h:0820:  CPU ThreadEntryPoint Launched with priority 0
517250 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
517250 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
517265 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
517265 (5400) - cpu\compression.cpp:0180: CPU Compression thread priority changed to 15
527406 (5400) - exe\main.cpp:1769: > Run Assessment mem 
527468 (5400) - memory\memat.cpp:1920: Adjusted the priority of Memory Assessment thread to 2
527468 (5400) - memory\memat.cpp:1231: DoOperationThreadEntryPoint Launched with priority 0
527468 (5400) - memory\memat.cpp:1231: DoOperationThreadEntryPoint Launched with priority 0
527468 (5400) - memory\memat.cpp:0610: Adjusted the priority of the Memory copy thread to 15
527468 (5400) - memory\memat.cpp:1231: DoOperationThreadEntryPoint Launched with priority 0
527468 (5400) - memory\memat.cpp:0610: Adjusted the priority of the Memory copy thread to 15
527468 (5400) - memory\memat.cpp:1231: DoOperationThreadEntryPoint Launched with priority 0
527468 (5400) - memory\memat.cpp:0610: Adjusted the priority of the Memory copy thread to 15
527468 (5400) - memory\memat.cpp:0610: Adjusted the priority of the Memory copy thread to 15
532750 (5400) - exe\main.cpp:1769: > Run Assessment disk -seq -read -n 0
532750 (5400) - storage\diskprof.cpp:0161: CCC Support not disabled in registry
532750 (5400) - storage\diskprof.cpp:0677: DiskProfilerThreadProc Launched with priority 0
532750 (5400) - storage\diskprof.cpp:0690: ITERATION NUMBER 1
532750 (5400) - storage\diskprof.cpp:0698: Random seed is 1594565481
533828 (5400) - storage\diskprof.cpp:3830: No Registry or pbip, using the default value of permitted BG Interference
533828 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
533828 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
533828 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
534312 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
534312 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
534312 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
534765 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
534765 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
534765 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
535265 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
535265 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
535281 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
535718 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
535734 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
535734 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
536187 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
536187 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
536187 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
536625 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
536640 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
536640 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
537140 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
537140 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
537140 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
537578 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
537578 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
537578 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
538187 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
538187 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
538187 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
538656 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
538671 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
538671 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
539203 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
539203 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
539203 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
539765 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
539765 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
539765 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
540265 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
540265 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
540265 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
540843 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
540843 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
540843 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
541406 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
541406 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 256, Allowed interference = 256 Actual Interference = 1 
541406 (5400) - storage\diskprof.cpp:3922: CCC - Normalized the high IO values - SEQ Heuristic
541421 (5400) - exe\main.cpp:1769: > Run Assessment disk -ran -read -n 0
541421 (5400) - storage\diskprof.cpp:0161: CCC Support not disabled in registry
541437 (5400) - storage\diskprof.cpp:0677: DiskProfilerThreadProc Launched with priority 0
541437 (5400) - storage\diskprof.cpp:0690: ITERATION NUMBER 1
541437 (5400) - storage\diskprof.cpp:0698: Random seed is 1594565489
554312 (5400) - storage\diskprof.cpp:3830: No Registry or pbip, using the default value of permitted BG Interference
554312 (5400) - storage\diskprof.cpp:3833: Permitted background Interference in percentage = 100
554312 (5400) - storage\diskprof.cpp:3891: info: WinSAT IOs = 1000, Allowed interference = 1000 Actual Interference = 66 
554312 (5400) - storage\diskprof.cpp:3898: CCC - Skipping the heuristic for random assessment
554312 (5400) - exe\main.cpp:3870: > Power request 'execution' successfully cleared.
554359 (5400) - exe\processresults.cpp:4125: > Wrote video memory bandwidth to the registry 6719770
554359 (5400) - exe\processresults.cpp:4849: > Wrote random read disk score, from the profiler, to the registry 1361
554375 (5400) - exe\processresults.cpp:0985: > Wrote cpu expression compression score to the registry 343
554375 (5400) - exe\processresults.cpp:1030: Total physical mem available to the OS : 7,95 ?? (8*546*041*856 bytes)
554375 (5400) - exe\processresults.cpp:1131: > Wrote memory throughput to the registry 19189
554375 (5400) - exe\processresults.cpp:1302: Using the sequential read subscore (capped at 5.9) for final disk score rather than the combined sequential + random disk subscores.
554375 (5400) - exe\processresults.cpp:1323: > Wrote random read disk score (throughput) to the registry 1361
554375 (5400) - exe\processresults.cpp:1349: > Wrote sequential read disk score (throughput) to the registry 104675
554406 (5400) - exe\processresults.cpp:1739: > Wrote CRS score to the registry 59
554406 (5400) - exe\processresults.cpp:1760: > Wrote memory score to the registry 89
554406 (5400) - exe\processresults.cpp:1779: > Wrote cpu score to the registry 89
554406 (5400) - exe\processresults.cpp:1800: > Wrote DWM score to the registry 62
554406 (5400) - exe\processresults.cpp:1820: > Wrote D3D score to the registry 99
554406 (5400) - exe\processresults.cpp:1840: > Wrote disk score to the registry 59
554734 (5400) - exe\main.cpp:0821: > WinSAT info: Version=V10.0 Build-17763.1158
554734 (5400) - exe\main.cpp:0953: > IsOfficial=TRUE  IsFormal=TRUE  IsMoobe=FALSE  RanOverTs=FALSE  RanOnbatteries=FALSE
554750 (5400) - common\winsatutilities.cpp:1068: PNPID from DX9 call = PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
554812 (5400) - common\winsatutilities.cpp:1134: Index [0]: PNPID = PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
554812 (5400) - common\winsatutilities.cpp:1158: Matching device PnPID is PCI\VEN_10DE&DEV_0DEA&SUBSYS_365A17AA&REV_A1
554812 (5400) - common\winsatutilities.cpp:1134: Index [1]: PNPID = ROOT\BasicDisplay
554828 (5400) - exe\processresults.cpp:4125: > Wrote video memory bandwidth to the registry 6719770
554828 (5400) - exe\processresults.cpp:4849: > Wrote random read disk score, from the profiler, to the registry 1361
554828 (5400) - exe\processresults.cpp:0985: > Wrote cpu expression compression score to the registry 343
554828 (5400) - exe\processresults.cpp:1030: Total physical mem available to the OS : 7,95 ?? (8*546*041*856 bytes)
554828 (5400) - exe\processresults.cpp:1131: > Wrote memory throughput to the registry 19189
554828 (5400) - exe\processresults.cpp:1302: Using the sequential read subscore (capped at 5.9) for final disk score rather than the combined sequential + random disk subscores.
554828 (5400) - exe\processresults.cpp:1323: > Wrote random read disk score (throughput) to the registry 1361
554828 (5400) - exe\processresults.cpp:1349: > Wrote sequential read disk score (throughput) to the registry 104675
554828 (5400) - exe\processresults.cpp:1739: > Wrote CRS score to the registry 59
554843 (5400) - exe\processresults.cpp:1760: > Wrote memory score to the registry 89
554843 (5400) - exe\processresults.cpp:1779: > Wrote cpu score to the registry 89
554843 (5400) - exe\processresults.cpp:1800: > Wrote DWM score to the registry 62
554843 (5400) - exe\processresults.cpp:1820: > Wrote D3D score to the registry 99
554843 (5400) - exe\processresults.cpp:1840: > Wrote disk score to the registry 59
555062 (5400) - exe\processwinsaterror.cpp:0319: Writing exit code, cant msg and why msg to registry 
555078 (5400) - exe\main.cpp:2769: > Successfully reenabled EMD.
555125 (5400) - exe\main.cpp:2795: > Composition restarted
555140 (5400) - exe\watchdog.cpp:0339: Watch dog system shutdown
555140 (5400) - exe\main.cpp:5045: > exit value = 0.
Аватара пользователя
sysop200

Re: PowerShell - Удаленный запуск WINSAT

Сообщение sysop200 »

Цитата sysop200:



29613343 (11608) - d3d\dx9misc.cpp:1035: HRESULT = 8876086c

29613343 (11608) - d3d\dx9misc.cpp:1035: ??????: ?? ??????? ??????? D3D ??????????

29613343 (11608) - d3d\dx9misc.cpp:1035: ??????: ?? ??????? ????????? ??????????? ??????????, ?????? ??? ?? ????? ???? ??????? D3D ??????????
PowerShell - Удаленный запуск WINSAT




для оценки видео, не удается создать устройство вывода.

тут есть особенность.. это устройство d3d есть только в сессии пользователся





проверьте

winsat.exe diskformal, работает через удаленный вызов?
Аватара пользователя
Ageron

Re: PowerShell - Удаленный запуск WINSAT

Сообщение Ageron »

Код:

Код: Выделить всё

gwmi win32_winsat -computername $comp
# или
gcim win32_winsat -computername $comp
Аватара пользователя
DJ Mogarych

Re: PowerShell - Удаленный запуск WINSAT

Сообщение DJ Mogarych »

Код:

Код: Выделить всё

gwmi win32_winsat -computername $comp
# или
gcim win32_winsat -computername $comp
Аватара пользователя
sysop200

Re: PowerShell - Удаленный запуск WINSAT

Сообщение sysop200 »

Цитата sysop200:



ничего не происходит
PowerShell - Удаленный запуск WINSAT




Может потому, что нет такого параметра "command"? Попробуйте "ScriptBlock"





Код:

Код: Выделить всё

 PS > help Invoke-Command -parameter command
Get-Help : No parameter matches criteria command.

Возникает вопрос, почему Invoke-Command не валидирует $PSBoundParameters?
Аватара пользователя
Foreigner

Re: PowerShell - Удаленный запуск WINSAT

Сообщение Foreigner »

Цитата Foreigner:



нет такого параметра "command"
PowerShell - Удаленный запуск WINSAT




Есть такой параметр.
Аватара пользователя
DJ Mogarych

Re: PowerShell - Удаленный запуск WINSAT

Сообщение DJ Mogarych »

Цитата DJ Mogarych:



Есть такой параметр.
PowerShell - Удаленный запуск WINSAT




Странное поведение на самом деле. В справке нет, по двойному или :



Код:

Код: Выделить всё

 PS > invoke-command -
Session                ConnectionUri          FilePath               VMId                   InformationAction
ComputerName           AsJob                  AllowRedirection       VMName                 ErrorVariable
Credential             InDisconnectedSession  SessionOption          ContainerId            WarningVariable
Port                   SessionName            Authentication         CertificateThumbprint  InformationVariable
UseSSL                 HideComputerName       EnableNetworkAccess    Verbose                OutVariable
ConfigurationName      JobName                RunAsAdministrator     Debug                  OutBuffer
ApplicationName        ScriptBlock            InputObject            ErrorAction            PipelineVariable
ThrottleLimit          NoNewScope             ArgumentList           WarningAction
 PS > invoke-command -Com
ComputerName  Command
Аватара пользователя
Foreigner

Re: PowerShell - Удаленный запуск WINSAT

Сообщение Foreigner »

Цитата DJ Mogarych:



Цитата Foreigner:

нет такого параметра "command" »

Есть такой параметр.
PowerShell - Удаленный запуск WINSAT




это не параметр, это алиас параметра ScriptBlock
Ответить

Вернуться в «Скриптовые языки администрирования Windows»