Replies: 2 comments
-
Starting point is at the PoSh CMD and get something that works - which is: |
Beta Was this translation helpful? Give feedback.
-
$enablemailbox = Invoke-Command -Session $PSSession -ScriptBlock { param($userid) enable-mailbox -Identity $userid } -ArgumentList $samaccountname |
Beta Was this translation helpful? Give feedback.
-
How can this WAL workflow be updated for Exchange no-language mode ?
Param([string]$samaccountname)
$DebugPreference='Continue'
$PSSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://FQDN/PowerShell/ -Authentication Kerberos
$enablemailbox = Invoke-Command -Session $PSSession -ArgumentList $samaccountname {$samaccountname=$args[0];enable-mailbox -Identity $samaccountname}
return "Success"$
Beta Was this translation helpful? Give feedback.
All reactions