Connect to scripts

123456789101112131415161718192021222324#get Credentials $UserCredential = Get-Credential #connect to MsOlService Connect-MsolService -Credential $UserCredential #install module forced for upgrading to latest version Install-Module -Name AzureAD -Force #set exection policy ##Set-ExecutionPolicy RemoteSigned #pssessoin exo $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication

SCVMM which are running – Powershell

Find out what VM is running on which server in your SCVMM cluster? This PowerShell script does it for you! (run it on the VMM server’s Virtual machine manager Command Shell) 1Get-SCVirtualMachine | Select-Object -property HostName, Name, Description | Sort-Object