La création d'un nouveau fichier avec la commande touch en PowerShell message d'erreur

J'ai un répertoire sur mon bureau créé à l'aide de PowerShell, et maintenant je suis en train de créer un fichier texte à l'intérieur.

J'ai fait changer le répertoire de la nouvelle, et tapé touch textfile.txt.

C'est le message d'erreur que je reçois:

touch : The term 'touch' is not recognized as the name of a cmdlet, function, 
script file, or operable program. Check the spelling of the name, or if a path was 
included, verify that the path is correct and try again.

At line:1 char:1
+ touch file.txt
+ ~~~~~
+ CategoryInfo          : ObjectNotFound: (touch:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException`

Pourquoi n'est-il pas de travail? Vais-je avoir pour utiliser Git Bash tout le temps?

Si vous souhaitez utiliser msys/etc. commandes, alors vous devez utiliser git bash ou avez configuré git bash "polluer" votre système %PATH% avec sa corbeille de répertoires. touch n'est pas un Windows ou commande powershell. Vous ne pouvez pas utiliser Write-Error, etc. à partir de git bash.
merci pour votre réponse!

OriginalL'auteur Toni | 2015-09-08