Set-Content |
Fixe le contenu |
---|---|
PowerShell |
Syntaxe
Set-Content [-Path] string[] [-Value] Object[] [-PassThru] [-Filter string] [-Include string[]] [-Exclude string[]] [-Force] [-Credential pscredential] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding Encoding] [-AsByteStream] [-Stream string] [CommonParameters] |
Set-Content [-Value] Object[] -LiteralPath string[] [-PassThru] [-Filter string] [-Include string[]] [-Exclude string[]] [-Force] [-Credential pscredential] [-WhatIf] [-Confirm] [-NoNewline] [-Encoding Encoding] [-AsByteStream] [-Stream string] [CommonParameters] |
Description
Cette commande permet d'écrire un nouveau contenu ou de le remplacer le contenu existant dans un fichier.
Dernière mise à jour : Jeudi, le 14 Janvier 2021