Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 1106

[User Profile; RDS; 2012] Mount; put 1 file; Umount;

$
0
0

Hello @all

I am working for a client and I am a bit limited on my action (no access to GPO/Active Directory etc).
But I am the admin of RDS 2012R2 system server where we can find a server with a folder on D:\users_profiles\*.vhdx

I have to put a 1 file (or more later) in each vhdx/user profile for each users.
Manually it's easy. double click on the vhdx it's open me the tree folder then i just have to copy/paste.

But I have to do this for 300 vhdx...
My idea was to make a powershell script. 
Get-childitem  *.vhdx -recurse | % {mount-vhd $ copy-item ...txt -destination ....)

Something like that

I try to find a solution on the web and try the command mount-vhd but it's seems that is link to hyper service who is not available on my server because it is a virtual machin.

Do you have any tools or idea to help me to do that ?
Thanks a lot 
Regards 


Viewing all articles
Browse latest Browse all 1106

Trending Articles