IP Address Management (IPAM) Server Cmdlets in Windows PowerShell
Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.
IP Address Management (IPAM) Server
This reference provides cmdlet descriptions and syntax for all IP Address Management (IPAM) Server-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
cmdlet | Description |
---|---|
Adds an IP address to IPAM. |
|
Adds an address space to IPAM. |
|
Adds an IP address block to IPAM. |
|
Adds a free-form or multivalued custom field to IPAM. |
|
Adds an association between values for custom fields that are defined in IPAM. |
|
Adds a value to a custom field in IPAM. |
|
Adds a new Active Directory domain to the list of domains in which IPAM discovers infrastructure servers. |
|
Adds an IP address range to the configuration of an IPAM server. |
|
Adds an infrastructure server to an IPAM database. |
|
Adds a subnet to IPAM. |
|
Disables an optional capability in IPAM. |
|
Enables an optional capability on the IPAM server. |
|
Exports IP addresses from IPAM. |
|
Exports all of the IP address ranges as a file or as an array of objects or both. |
|
Exports the IP address subnets of an address family on the computer that runs IPAM. |
|
Gets one or more free IP addresses from a range of IP addresses in IPAM. |
|
Gets IP addresses from IPAM. |
|
Gets address spaces in IPAM. |
|
Retrieves the threshold configuration for address utilization alerts. |
|
Gets a set of address blocks from IPAM. |
|
Gets all optional capabilities in IPAM. |
|
Gets the configuration for the computer that runs IPAM. |
|
Gets IPAM configuration events from the IPAM database. |
|
Gets custom fields in IPAM. |
|
Gets associations between two custom fields defined in IPAM. |
|
Gets configuration settings for the IPAM database. |
|
Gets configuration events for DHCP servers from the IPAM database. |
|
Retrieves the list of Active Directory domains in which IPAM discovers infrastructure servers. |
|
Retrieves all IP address audit events in IPAM. |
|
Retrieves a set of IP address ranges from an IPAM server. |
|
Retrieves the properties of managed servers in the IPAM server inventory. |
|
Retrieves a set of subnets from IPAM. |
|
Imports IP address into the IPAM server. |
|
Imports one or more IP address range objects from the specified file into the computer running the IPAM server. |
|
Imports IP address subnet objects from the specified file into the computer running IPAM. |
|
Creates and links group policies in the specified domain for provisioning required access settings on the servers managed by the computer running the IPAM server. |
|
Automates the provisioning of IPAM server. |
|
Migrates the IPAM database to a SQL Server database. |
|
Removes a set of addresses from IPAM. |
|
Removes address spaces from IPAM. |
|
Removes an address block from IPAM. |
|
Removes IPAM server configuration events. |
|
Removes a custom field from IPAM. |
|
Removes an association between two custom fields that are defined in IPAM. |
|
Removes a custom value from IPAM. |
|
Removes configuration events for DHCP servers from the IPAM database. |
|
Removes a domain from IPAM. |
|
Removes IP address audit events from the IPAM database. |
|
Removes a range of IP addresses from an IPAM server configuration. |
|
Removes a server from an IPAM server inventory. |
|
Removes a subnet from IPAM. |
|
Renames a custom field in IPAM. |
|
Changes a value for a custom field. |
|
Modifies an IP address in IPAM. |
|
Modifies address spaces in IPAM. |
|
Modifies the address utilization thresholds in IPAM. |
|
Modifies an IP address block in IPAM. |
|
Modifies the configuration for the computer that runs the IPAM server. |
|
Modifies associations of values for custom fields defined in IPAM. |
|
Modifies settings that IPAM uses to connect to the IPAM database. |
|
Modifies the IPAM discovery configuration. |
|
Modifies an existing IP address range. |
|
Modifies the properties of an infrastructure server in the IPAM server inventory. |
|
Modifies an existing IP subnet in IPAM. |
|
Updates an IPAM server following an operating system upgrade. |
Hinweis
To list all the cmdlets that are available, use the Get-Command -Module IpamServer
cmdlet.
Um weitere Informationen zur Syntax beliebiger Cmdlets zu erhalten, verwenden Sie das Get-Help
<Cmdlet-Name>-Cmdlet, wobei <Cmdlet-Name> der Name des Cmdlets ist, zu dem Sie Informationen wünschen. Um ausführlichere Informationen zu erhalten, können Sie die folgenden Cmdlets ausführen:
● Get-Help
<Cmdlet-Name> -Detailed
● Get-Help
<Cmdlet-Name> -Examples
● Get-Help
<Cmdlet-Name> -Full
To enable non-local administrators to run IPAM cmdlets when using the role-based access control involving IPAM-specific security group memberships, follow these steps:
Log into the IPAM server.
Start a new Windows PowerShell console with administrator permissions.
Run the following commands, confirming the actions when prompted:
New-PSSessionConfigurationFile –Path ./ipam.pssc Register-PSSessionConfiguration –Name Microsoft.ipam –path .\ipam.pssc Set-PSSessionConfiguration –Name Microsoft.ipam –ShowSecurityDescriptorUI
Then add the following groups from the local machine scope:
IPAM Administrators
IPAM ASM Administrators
Make sure they have full control permissions. You can also add any other group whose users have permission to access IPAM.
Now you should be able to see the Microsoft.ipam PowerShell session configuration.
Get-PSSessionConfiguration *ipam
The following command should now run for any non-local user who belongs to any of the configured IPAM access groups.
$TestSession=New-PSSession –computerName <ipamFQDN> -configurationName Microsoft.ipam