Regarding the issue where the Windows Admin center SDK cannot obtain a session
Leo
0
信誉分
I am developing an extension using the Windows Admin Center SDK.I built the project using the solution extension method and wrote the angular code and power shell script according to the official guidance document. WAC server is deployed on local host, and when I followed the guidance document to connect the session. I found that the session was always 'undefined'. Where is the problem and how to solve it?
The code for connecting the session is as follows:
const session = this.appContextService.powerShell.createSession('Local IP');
Official guidance document: https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/extend/guides/powershell
Windows 开发 | Windows 应用 SDK
登录以回答