ExchangePowerShellAutomationSample

所属分类:Windows编程
开发工具:C#
文件大小:0KB
下载次数:0
上传日期:2023-07-05 17:34:17
上 传 者sh-1993
说明:  演示如何连接到Exchange远程PowerShell并以编程方式运行cmdlet的示例应用程序。
(A sample application demonstrating how to connect to Exchange Remote PowerShell and run cmdlets programmatically.)

文件列表:
ExchangePSAutomationTest.sln (942, 2023-07-05)
ExchangePSAutomationTest/ (0, 2023-07-05)
ExchangePSAutomationTest/App.config (178, 2023-07-05)
ExchangePSAutomationTest/ClassLogger.cs (2269, 2023-07-05)
ExchangePSAutomationTest/ExchangePSAutomationTest.csproj (4834, 2023-07-05)
ExchangePSAutomationTest/FormChooseAuthCertificate.Designer.cs (12740, 2023-07-05)
ExchangePSAutomationTest/FormChooseAuthCertificate.cs (7747, 2023-07-05)
ExchangePSAutomationTest/FormChooseAuthCertificate.resx (5891, 2023-07-05)
ExchangePSAutomationTest/FormEditVariable.Designer.cs (8440, 2023-07-05)
ExchangePSAutomationTest/FormEditVariable.cs (1919, 2023-07-05)
ExchangePSAutomationTest/FormEditVariable.resx (5698, 2023-07-05)
ExchangePSAutomationTest/FormMain.Designer.cs (36796, 2023-07-05)
ExchangePSAutomationTest/FormMain.cs (33664, 2023-07-05)
ExchangePSAutomationTest/FormMain.resx (5698, 2023-07-05)
ExchangePSAutomationTest/PSVariablesManager.cs (6444, 2023-07-05)
ExchangePSAutomationTest/Program.cs (1040, 2023-07-05)
ExchangePSAutomationTest/Properties/ (0, 2023-07-05)
ExchangePSAutomationTest/Properties/AssemblyInfo.cs (1424, 2023-07-05)
ExchangePSAutomationTest/Properties/Resources.Designer.cs (2814, 2023-07-05)
ExchangePSAutomationTest/Properties/Resources.resx (5496, 2023-07-05)
ExchangePSAutomationTest/Properties/Settings.Designer.cs (1081, 2023-07-05)
ExchangePSAutomationTest/Properties/Settings.settings (242, 2023-07-05)

# Exchange PowerShell Automation Sample This sample application shows how to connect to a remote Exchange Powershell session, run cmdlets, and receive data. It also shows how variables can be passed into the PowerShell session from the C# code (currently only PSCredential is supported for the variable type). The code shows how to connect to the PowerShell session directly (which means that only limited calls can be made, due to the runspace being in [RestrictedLanguage mode](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_language_modes)) or to import the remote session into a local PowerShell session (in which case full scripting should be possible). The code works with Exchange On-premises and Exchange Online (which now requires the EXO v3 PowerShell module).

近期下载者

相关文件


收藏者