Skip to content

Instantly share code, notes, and snippets.

@bklockwood
Last active January 23, 2016 10:18
Show Gist options
  • Save bklockwood/a13011f12af6cd452c52 to your computer and use it in GitHub Desktop.
Save bklockwood/a13011f12af6cd452c52 to your computer and use it in GitHub Desktop.
function test-remoteicm {
[CmdletBinding()]
Param ()
$true
write-output "hello"
}
@bklockwood
Copy link
Author

Finally I have found a workaround for this:

PS> icm t7 {import-module pswu; $output = test-remoteicm; $output}
True
hello

PS> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment