Powershell create hidden file. bar and then set the 'hidden' attribute of the file: (Get-Item foo. ...