Quick Equivalent PSexec en PowerShell

Invoke-Command -computername "servername" -ScriptBlock {ipconfig}
$VMlist = get-vm
foreach ($VM in $VMList)
	{
		Invoke-Command -computername $VM -ScriptBlock {ipconfig}
	}
0 0 votes
Évaluation de l'article
S’abonner
Notifier de
guest
0 Commentaires
Inline Feedbacks
View all comments