SFTP in Powershell
Powershell

Run Powershell SFTP

Hi there, in this Powershell code i am going to use on “posh-ssh” module in order to work with Powershell for SFTP actions. The module is not large repository but it contains useful commands that […]

unnamed
Powershell

Get vm host and cluster Powercli

$Clusters = get-cluster $Result =@( Foreach ($Cluster in $Clusters) { $VMhosts = Get-VMHost -Location $Cluster foreach($VMhost in $VMhosts) { [pscustomobject]@{ “Host” = $VMhost.Name “Cluster Name” = $Cluster } } } ) $Result