Thanks Cherry,
I read this article before my post. The troube seems to be that the script can't run for "onmicrosoft.com" server.
Please find below error messages while running the script. It's french written saying "can't run this script because script execution disabled on this system".
Of course I would be happy running scripts there. Should I make some changes on scenario?
Thanks. Vanessa.
PS C:\Documents and Settings\jccporthp> Import-PSSession $Session
Import-Module : Des erreurs se sont produites lors du chargement du fichier de données de mise en forme :
Microsoft.PowerShell, , C:\Temp\tmp_483dfe88-56d2-44a9-b22d-47af3dc4312b_a00br25l.onz\tmp_483dfe88-56d2-44a9-b22d-47af3dc43
12b_a00br25l.onz.format.ps1xml: fichier ignoré en raison de l'exception de validation suivante : Impossible de charger le f
ichier C:\Temp\tmp_483dfe88-56d2-44a9-b22d-47af3dc4312b_a00br25l.onz\tmp_483dfe88-56d2-44a9-b22d-47af3dc4312b_a00br25l.onz.
format.ps1xml, car l'exécution de scripts est désactivée sur ce système. Pour plus d'informations, consultez « get-help abo
ut_signing »..
Au niveau de ligne : 3 Caractère : 30
+ Import-Module <<<< -Name $name -Alias * -Function * -Prefix $prefix -DisableNameChecking:$disableNameChe
cking -PassThru -ArgumentList @($session)
+ CategoryInfo : InvalidOperation: (:) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : FormatXmlUpateException,Microsoft.PowerShell.Commands.ImportModuleCommand