Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: New-Fleet -Cluster to process VHD on remote machine #173

Open
jaromirk opened this issue Nov 19, 2021 · 3 comments
Open

Comments

@jaromirk
Copy link

It would be really useful if New-Fleet -Cluster would mount image on remote machine... I was achieving this with icm and credssp, but it no longer works. It would prevent copying stuff over and over to remote machine and also you need to have hyper-v installed (would be more useful to mount vhd on cluster node).

$password = ConvertTo-SecureString "LS1setup!" -AsPlainText -Force
$Credentials = New-Object System.Management.Automation.PSCredential ("CORP\LabAdmin", $password)

Invoke-Command -ComputerName $Nodes[0] -Credential $Credentials -Authentication Credssp -ScriptBlock {
        #It's probably more convenient to run this command on cluster (using invoke-command) as all VHD copying will happen on cluster itself.
        New-Fleet -BaseVHD "c:\ClusterStorage\Collect\$using:VHDName" -AdminPass P@ssw0rd -Admin Administrator -ConnectUser corp\LabAdmin -ConnectPass LS1setup!
}
 

image

@jaromirk
Copy link
Author

jaromirk commented Nov 19, 2021

2.0.0.0 with invoke-command and credssp works just fine :). It broke in 2.0.0.1

image

@dl2n
Copy link
Member

dl2n commented Dec 1, 2021

This is a good idea .... full cluster remoting is a work in progress (as you've noticed).

@jaromirk
Copy link
Author

jaromirk commented Dec 3, 2021

THX! I like the work you are doing towards cluster remoting! We should chat sometimes. You can ping me on teams anytime at [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants