我们在power shell中加载网页时遇到问题。 [英] we have a problem with loading web pages in power shell.

查看:77
本文介绍了我们在power shell中加载网页时遇到问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在power shell中加载网页时遇到问题。

we have a problem with loading web pages in power shell.

我们在所有网页上导入一个相同的会话,当我们尝试点击超级网页时在网页链接,加载网页需要更多时间,我们想加载火箭速度的网页,我们还维持会话。

如何解决问题。

we are import one same session  for all web pages, when we are trying to click the hyper link in webpage it takes more time to load the web page, we want to load a web page with rocket speed and we also maintained a session.
how to resolve the problem.

# page1:


Import-Module msonline
$password = Get-content	"C:\Program Files (x86)\PowerShellInside\PowerShell ASP V3\www\O365Portal\UserCache\dnu.txt" | convertto-securestring
$credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist "svc_o365_manage@med.cornell.edu",$password 
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Credentials -Authentication Basic -AllowRedirection -warningaction silentlycontinue
$temp = Import-PSSession $Session -allowclobber -warningaction silentlycontinue
Connect-MsolService -Credential $Credentials -warningaction silentlycontinue

%>

# page2:

Import-Module msonline
$password = Get-content	"C:\Program Files (x86)\PowerShellInside\PowerShell ASP V3\www\O365Portal\UserCache\dnu.txt" | convertto-securestring
$credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist "svc_o365_manage@med.cornell.edu",$password 
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Credentials -Authentication Basic -AllowRedirection -warningaction silentlycontinue
$temp = Import-PSSession $Session -allowclobber -warningaction silentlycontinue
Connect-MsolService -Credential $Credentials -warningaction silentlycontinue





Powershell-Learner

Powershell-Learner

推荐答案

这些是不是网页,也无法修复连接时间。 如果您遇到连接问题,请在O365支持论坛上发帖。

Those are not web pages and there is no way to fix the connect time.  If you are having issues connecting then post in the O365 support forum.


这篇关于我们在power shell中加载网页时遇到问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆