Previously, we used a development instance of Azure AD Connect with a development Azure AD tenant to investigate the rules. However, Microsoft has created new functionality in […]
Tag: powershell
Install-Module : The term ‘Install-Module’ is not recognized as the name of a cmdlet
Install-Module AzureADPreviewInstall-Module MSOnlineInstall-Module : The term ‘Install-Module’ is not recognized as the name of a cmdlet, function, script file, oroperable program. Check the spelling of the name, […]
How to connect to Office 365 via Powershell when 2fa \ Two Factor Authentication is enabled on the account
The Exchange Online Remote PowerShell Module needs to be installed on your computer:Open the Exchange admin center (EAC) for your Exchange Online organization. For instructions, see Exchange admin […]
Find VM’s using e1000 Adapter Running Windows
Powershell script to list machines running the out of date e1000 Adapter in Windows so you can update them to VMXnet3 !
Get list of Windows Updates needed to be installed on Virtual Machine Enviroment Vmware/ Powershell
Run Vmware PowercliRun Connect-ViServer %name of server%Run the output of below to a text fileE.g. .\Get-PendingUpdate.ps1 | Output-File file.txt
How to change all storage paths of all datastores on a host in VCenter
This will only work once a host has been added to Vcenter.Use Vmware CLI to run this with the variables in Square Brackets edited outThis will change […]
No Windows PowerShell snap-ins matching the pattern ‘VeeamPSSnapIn’ were found.
Trying to get the Solarwinds Veeam Backup and Recovery Template working, After installing the powershell plugin via BPS_x64.msi, when trying to run Powershell commands , I could not […]
VMware PowerCLi Powershell Script to get VMWare Tools out of Date and Virtual Machine Hardware Versions
365 Useful Commands for Powershell Administration
Add Permissions $LiveCred = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirectionImport-PSSession $Session//Add to OutlookUserA to BAdd-MailboxPermission -identity [email protected] -user [email protected] -AccessRights FullAccess //Don’t add to OutlookAdd-MailboxPermission […]
Remote Assistance in Xenapp 7.x (Non Data Collectors)
We use this great script http://deptive.co.nz/remote-assistance-powershell-gui-for-xenapp/ for remote assistance on a Citrix Farm , however it does not work with 7 out of the box , to get this […]