i am having a bit of an issue connecting the power shell service here is my output Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\beardsleeg.OP-TECH>
PS C:\Users\beardsleeg.OP-TECH> $LiveCred = Get-Credential
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
PS C:\Users\beardsleeg.OP-TECH> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://p
.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
WARNING: Your connection has been redirected to the following URI:
"pod51018psh.outlook.com/PowerShell-LiveID"
WARNING: Your connection has been redirected to the following URI:
"sn2prd0710psh.outlook.com/PowerShell-LiveID"
PS C:\Users\beardsleeg.OP-TECH> Import-PSSession $Session
Import-Module : There were errors in loading the format data file:
Microsoft.PowerShell, , C:\Users\beardsleeg.OP-TECH\AppData\Local\Temp\tmp_ccba7e00-ac48-4b66-92df-2b87d59398ed_x4n0zij
e.0jj\tmp_ccba7e00-ac48-4b66-92df-2b87d59398ed_x4n0zije.0jj.format.ps1xml : File skipped because of the following valid
ation exception: File C:\Users\beardsleeg.OP-TECH\AppData\Local\Temp\tmp_ccba7e00-ac48-4b66-92df-2b87d59398ed_x4n0zije.
0jj\tmp_ccba7e00-ac48-4b66-92df-2b87d59398ed_x4n0zije.0jj.format.ps1xml cannot be loaded because the execution of scrip
ts is disabled on this system. Please see "get-help about_signing" for more details..
At line:3 char:30
+ Import-Module <<<< -Name $name -Alias * -Function * -Prefix $prefix -DisableNameChecking:$disableNam
eChecking -PassThru -ArgumentList @($session)
+ CategoryInfo : InvalidOperation: (:) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : FormatXmlUpateException,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\Users\beardsleeg.OP-TECH> c