panabloom.blogg.se

Open rdg file windows 10
Open rdg file windows 10







open rdg file windows 10

# Create a temporary file to hold the XML $fileElement.RemoveChild($groupTemplateElement) # Remove the Group template object, as it is just a blank stub at this point. # Add (via AppendChild method) a single Server object to a Group objectįunction Add-ServerToGroup($group, $serverName) # Create an RDG (XML formatted) file for RDCMan to import so that all workstations are in relevant groups. $ExampleGroup = Get-Group $fileElement 'ExampleUser1-group' 'exampleUser1' (Secure-Password $RDCMan ((New-Object PSCredential "user",$credentialHash).GetNetworkCredential().password)) ‘ExampleDomain’ $adminGroup = Get-Group $fileElement 'Admin-group' $env:USERNAME (Secure-Password $RDCMan ((New-Object PSCredential "user",$credentialHash).GetNetworkCredential().password)) $env:USERDOMAIN # Name your root element in the RDCMan connection window. # Root XML element that objects will append to # Be aware that you may need to update the path based on where you store the file # Store the XML template into a variable for more sensible parsing / operating $RDCMan = "E:\Remote Desktop Connection Manager\RDCMan.exe"

open rdg file windows 10

# Store the location of the Remote Desktop Connection Manager file









Open rdg file windows 10