Table of Contents

Infoblox Powershell

Documentation Install and use “Powershell” and NOT “Windows Powershell”

winget install microsoft.powershell
Install-Module -Name ibPS

Run from CMD

powershell "& ""C:\Users\username\Downloads\script.ps1"""

You can add -noexit before the other parameters to keep yourself in PowerShell.

Upgrading

Show updates

winget search Microsoft.PowerShell

Example output

PS C:\Users\owner> winget search Microsoft.PowerShell
Name               Id                           Version Source
---------------------------------------------------------------
PowerShell         Microsoft.PowerShell         7.5.0.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.6.0.2 winget

Upgrade

winget install --id Microsoft.Powershell --source winget

Example output

PS C:\Users\owner> winget install --id Microsoft.Powershell --source winget
Found PowerShell [Microsoft.PowerShell] Version 7.5.0.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/PowerShell-7.5.0-win-x64.msi
  ██████████████████████████████   107 MB /  107 MB
Successfully verified installer hash
Starting package install...
Installation abandoned

Version

$PSVersionTable

Resolve DNS

Resolve-DnsName infoblox.com