Exploring Journaling. Trying to set it up on ubuntu. Prerequisites for the EXO V2 module

Marc Girod 26 Reputation points
2022-09-08T13:25:38.23+00:00

Hello,

Following instructions in:
https://learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#prerequisites-for-the-exo-v2-module

I installed pwsh 7.2.6, and met a few errors:

PS /home/mgirod@azdsthq.net> Set-ExecutionPolicy RemoteSigned
Set-ExecutionPolicy: Operation is not supported on this platform.
PS /home/mgirod@azdsthq.net> winrm quickconfig
winrm: The term 'winrm' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

What to do with this (on Ubuntu 20.04.5 LTS)?
Thanks

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,228 questions
Skype for Business Linux
Skype for Business Linux
Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.Linux: A family of open-source Unix-like operating systems.
456 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,396 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rich Matheisen 45,111 Reputation points
    2022-09-08T15:23:12.88+00:00

    Reading the help for "Set-ExecutionPolicy" would have provided you with the answer:

    Beginning in PowerShell 6.0 for non-Windows computers, the default execution policy is Unrestricted and can't be changed. The Set-ExecutionPolicy cmdlet is available, but PowerShell displays a console message that it's not supported.

    Windows Remote Management isn't supported (or available) on Linux, so "winrm" simply isn't present. You can us SSH instead. Or, you can try this:

    using-winrm-on-linux

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Marc Girod 26 Reputation points
    2022-09-08T16:02:18.277+00:00

    Thanks. I need to find a Windows box that I can use remotely, then?
    And this should help me setting up some journaling rules?