Hi Luc,
can you please check on the following requirement to suggest powershell code .
1:company 1,2 and 3 are three virtual machines where one powershell script is generating report.
2:instead of storing on company 1 2 and 3 i want to store them on SF folder which i want to map as network drive to all three computers .
3:all four are in different domains .
You can create network shares with the New-SmbShare cmdlet.
If you will be able to connect to the share from all these VMs (in different AD domains), depends a bit how the trusts between those domain are set up.
Connecting to a network share itself can be done with the New-PSDrive cmdlet.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks luc .i m working on it.