При выполнении скрипта вылазиет следуюющая ошибка:
Цитата:
PS C:\Users\aus> C:\Users\aus\Desktop\cert.ps1
Host name found: srv.ussurmc.ru
Creating a new certificate using makecert.exe
Unexpected Exception!
+ ~~~~~~~~~~~~~~ -r -pe -n "CN=$hostname" -b 01/01/2005 -e 01/01/2050 -sr Loca ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System.Management.Automation.CommandNotFoundException: Имя ".\makecert.exe" не распознано как имя командлет
айла сценария или выполняемой программы. Проверьте правильность написания имени, а также наличие и правильн
сле чего повторите попытку.
в System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, E
ption)
в System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
в System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
в System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
в System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
|