powershell - New-PSSession : Relative URIs are not supported in the creation of > remote sessions -


i found useful script uploading photos on exchange server: :

first error:

new-pssession : relative uris not supported in creation of remote sessions. @ line:110 char:15 + $session = new-pssession -configurationname microsoft.exchange -connectionuri ... +
+ categoryinfo : invalidargument: (mail-pero.appl.campari.priv:uri) [new-pssession], notsupportedexception + fullyqualifiederrorid : createremoterunspacefailed,microsoft.powershell.commands.newpssessioncommand

second error:

the term 'get-mailbox' not recognized name of cmdlet

powersheel gui

the script meant exchange2010, make sure have it, not newer, not lower. otherwise have update script. it's hardcoded use 2010 libraries.

also, error said, don't use relative urls.

for urls, use https://yourexchangeuri.com


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -