Add-Member |
Ajouter un membre |
---|---|
PowerShell |
Syntaxe
Add-Member -InputObject PSObject -TypeName String [-PassThru] [CommonParameters] |
Add-Member -InputObject PSObject [-TypeName String] [-Force] [-PassThru] [-NotePropertyMembers] IDictionary [CommonParameters] |
Add-Member -InputObject PSObject [-TypeName String] [-Force] [-PassThru] [-NotePropertyName] String [-NotePropertyValue] Object [CommonParameters] |
Add-Member -InputObject PSObject [-MemberType] PSMemberTypes [-Name] String [[-Value] Object] [[-SecondValue] Object] [-TypeName String] [-Force] [-PassThru] [CommonParameters] |
Description
Cette commande permet d'ajouter les propriétés utilisateurs et les méthodes d'une instance dans un objet PowerShell.
Dernière mise à jour : Mardi, le 12 Janvier 2021