install PowerShell 6 | iex “& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI” |
retrieves the programs installed | Install-Script -Name Get-InstalledProgram |
Microsoft Azure PowerShell – Profile credential management cmdlets for Azure Resource Manager | Install-Module -Name Az.Profile |
Microsoft Azure PowerShell – Storage service cmdlets. | Install-Module -Name Azure.Storage |
Microsoft Azure PowerShell – Accounts credential management cmdlets for Azure Resource Manager | Install-Module -Name Az.Accounts -RequiredVersion 1.6.2 |
Exchange Online Shell | Install-Module -Name ExchangeOnlineShell |
Install all the available RSAT tools | Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online |
Install Powershell Azure | Install-Module -Name Az -AllowClobber -Scope AllUsers Install the Azure PowerShell module From <https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-2.7.0> Introducing the new Azure PowerShell Az module From <https://docs.microsoft.com/en-us/powershell/azure/new-azureps-module-az?view=azps-2.7.0> Migration Guide PS https://github.com/Azure/azure-powershell/blob/master/documentation/migration-guides/Az.1.0.0-migration-guide.md |
Install RSAT | Get-WindowsCapability -Name RSAT* -Online Get-WindowsCapability -Name RSAT* -Online | Select-Object -Property DisplayName, State install all the available RSAT tools at once, run: Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online To install only disabled RSAT components, run: Get-WindowsCapability -Online |? {$_.Name -like “*RSAT*” -and $_.State -eq “NotPresent”} | Add-WindowsCapability -Online To install a specific RSAT tool, such as AD management tools (including the ADUC console and the Active Directory module for Windows Powershell), run the command: Add-WindowsCapability –online –Name “Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0” To install the DNS management console and the PowerShell DNSServer module, run: Add-WindowsCapability –online –Name “Rsat.Dns.Tools~~~~0.0.1.0” Etc. Add-WindowsCapability -Online -Name Rsat.FileServices.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.GroupPolicy.Management.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.IPAM.Client.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.LLDP.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.NetworkController.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.NetworkLoadBalancing.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.BitLocker.Recovery.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.CertificateServices.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.DHCP.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.FailoverCluster.Management.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.RemoteAccess.Management.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.RemoteDesktop.Services.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.ServerManager.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.Shielded.VM.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.StorageMigrationService.Management.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.StorageReplica.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.SystemInsights.Management.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.VolumeActivation.Tools~~~~0.0.1.0 Add-WindowsCapability -Online -Name Rsat.WSUS.Tools~~~~0.0.1.0 |