In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Blog address: https://blog.51cto.com/13969817
In many cases, Office 365 Admin needs to use PowerShell to implement some management settings similar to Mailbox. When you execute the import PSSession command, the following error message pops up:
The reasons for this problem are:
By default, the execution policy is "Restricted", and you do not configure the Powershell execution policy correctly.
Solution:
You can resolve the problem with the following command: Set-ExecutionPolicy RemoteSigned
Click the link to learn more about Set-ExecutionPolicy settings
After you enter, in the pop-up Execution Policy Change dialog box, click "yes to all"
Description: after the change, it takes effect immediately without restarting Windows PowerShell. Briefly introduce the four ways to set up Execution Policy: Restricted: it is the default execution policy in Windows 8 and Windows Server 2012, which allows separate commands, but will not run scripts AllSigned: scripts can be run, requiring all scripts and configuration files to be signed by trusted publishers, including scripts written on the local computer. RemotedSigned: scripts can be run. This is the default enforcement policy in Windows Server 2012 R2 and requires scripts and configuration files downloaded from Internet, including email and instant messaging programs, to be digitally signed by trusted publishers. Unrestricted: unsigned scripts can be run. (there is a risk of running malicious scripts. )
Enter the Import-PSSession $Session command again, and the import is successful, as shown below:
The problems and solutions encountered by the editor will be sorted out and shared with those in need. I hope I can help you.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.