Those steps which you have to take to be able using Enter-PSSession command on your Linux box. Step1. Install PowerShell Core.Go to and follow Microsoft documentation: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7.1 Step2. To make Enter-PSSession working on Linux you have to install gss-ntlmssp apt install gss-ntlmssp Step3. Enable PSRemoting on Windows machine Enable-PSRemoting –Force…
powershell
We are preparing for the migration from Hyper-V to VMware. I am collecting all information before migration. One of the tasks was to collect all memory assigned to all VMs. Get-VM -ComputerName (Get-ClusterNode -Cluster CLUSTER_NAME) | Select-Object Name, DynamicMemoryEnabled, MemoryAssigned, MemoryMinimum, ProcessorCount, Path
We are preparing for the migration from Hyper-V to VMware. I am collecting all information before migration. One of the tasks was to collect all the information about network cards connected to the VMs on the cluster. This is how I did it. Get-VM -ComputerName (Get-ClusterNode -Cluster CLUSTER_NAME) | Get-VMNetworkAdapter…
We are preparing for the migration from Hyper-V to VMware. I am collecting all information before migration. One of the tasks was to collect all the VHDs information and this is how I did it. Get-VM -ComputerName (Get-ClusterNode) | ForEach-Object {Get-VHD -ComputerName $_.ComputerName -VMId $_.VMId} | Select -Property Path, VhdFormat,VhdType,@{label=’Size(GB)’;expression={$_.filesize/1gb…
This happens very often. Usually I was rejoining workstation/server to the domain. However it is easier way to do it. You have to log in to the server with a broken relationship.You have to know the name of Domain Controller (example: AD01) $DomainCred = Get-Credential Reset-ComputerMachinePassword -Server “AD01” -Credential $DomainCred…