(This parameter set requires WSMan, and no supported WSMan client library was found. Import-Module (Import-PSSession $Session -DisableNameChecking) -GlobalĪwait ps.AddScript(initializationScript).InvokeAsync() Įrror: Unhandled Exception: System.AggregateException: One or more errors occurred. $Session = New-PSSession -SessionOption $Option -ConfigurationName Microsoft.Exchange -ConnectionUri '' -Credential $UserCredential -Authentication Basic -AllowRedirection $Option.IdleTimeout = ::FromSeconds(60) # inline setting of this property via New-PSSessionOption is not supported on non-Windows platforms $UserCredential = New-Object ('******', (ConvertTo-SecureString '******' -AsPlainText -Force)) Try # not supported on non-Windows platforms Var rs = RunspaceFactory.CreateRunspace()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |