The implementation of the IContentCmdletProvider provider on the VimDatastore PSProvider would allow us to use the 'Content' cmdlets to/from files on a datastore.
For example:
1) To read a file
New-PSDrive -Location $ds -Name ds -PSProvider VimDatastore -Root '\'
Get-Content -Path ds:\MyVM\vmware.log
2) To create content
New-PSDrive -Location $ds -Name ds -PSProvider VimDatastore -Root '\'
Set-Content -Path ds:\MyVM\MyNotest.txt -Value "Hallo World!"