Question PowerShell Version 3.0

Plus d'informations
il y a 13 ans 6 mois #12639 par Laurent Dardenne
Réponse de Laurent Dardenne sur le sujet Re:PowerShell Version 3.0
Une dernière pour la route , la V3 est dispo.

Tutoriels PowerShell

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 6 mois #12668 par Matthew BETTON
Réponse de Matthew BETTON sur le sujet Re:PowerShell Version 3.0
PowerShell Community Extensions se met à jour en conséquence :

PSCX 3.0 Beta Released
PSCX 3.0 Beta 1 is our primary release targeting PowerShell 3.0 and only PowerShell 3.0. We've made the jump to .NET 4.0 and are using PowerShell 3.0 specific features. If you need PowerShell 2.0 support use PSCX 2.1 Beta. We will be releasing this version to production in a month or so and it will support both PowerShell 2.0 and 3.0.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 5 mois #12739 par Matthew BETTON
Réponse de Matthew BETTON sur le sujet Re:PowerShell Version 3.0
Matthew BETTON écrit:

PowerShell Community Extensions se met à jour en conséquence :

PSCX 3.0 Beta Released
PSCX 3.0 Beta 1 is our primary release targeting PowerShell 3.0 and only PowerShell 3.0. We've made the jump to .NET 4.0 and are using PowerShell 3.0 specific features. If you need PowerShell 2.0 support use PSCX 2.1 Beta. We will be releasing this version to production in a month or so and it will support both PowerShell 2.0 and 3.0.


La version 3.0 Release Candidate est maintenant disponible.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 5 mois #12818 par Laurent Dardenne
Réponse de Laurent Dardenne sur le sujet Re:PowerShell Version 3.0
Pour PSCX un possible ajout dans le profile utilisateur afin de gérer la v2.0 et la v3.0 :
[code:1]
$PSProfile=[Environment]::GetFolderPath(\"MyDocuments\"«»)+\"\WindowsPowerShell\"

if ($PSVersionTable.PSversion -eq \"3.0\"«»)
{
$ModulePath=$env:«»PSModulePath -split \";\"|Where {$_ -match \"pscx\"}
Import-Module Pscx -arg \"$ModulePath\PSCX\Pscx.UserPreferences.ps1\" -RequiredVersion 3.0.0.0
}
else
{Import-Module Pscx -arg \"$PSProfile\Modules\PSCX\Pscx.UserPreferences.ps1\"}
[/code:1]

Tutoriels PowerShell

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.091 secondes
Propulsé par Kunena