jbostoen / itop-jb-powershell Goto Github PK
View Code? Open in Web Editor NEWPowerShell module to interact with iTop API
Home Page: https://jeffreybostoen.be
PowerShell module to interact with iTop API
Home Page: https://jeffreybostoen.be
Hello,
just a question, i would like to know it your powershell module can work with TeemIp extension ?
i would like to have IP address and DNS name management with powershell
Thanks !
It would be nice if at some point configuration settings could easily be inherited.
When creating a new computer with a new document, should I:
$parametrs_PC = @{
'name' = $ComputerName
'org_id' = 3
'location_id' = 1
'brand_id' = 29
'model_id' = 330
'osfamily_id' = 4
'osversion_id' = 328
'type' = 'laptop'
'cpu' = 'Intel Core i5-11300H'
'ram' = '8GB'
'serialnumber' = 'numerseryjny'
'asset_number' = 'AB-xxx'
'move2production' = '2021-12-14'
'purchase_date' = '2021-11-18'
'end_of_warranty' = '2024-11-18'
'contacts_list' = @(@{'contact_id'=344})
**'documents_list' = @(@{'name'=$ComputerName })**
}
The first method returns an error:
iTop API returned an error: 100 - Error: documents_list: name: Unknown attribute
Is it possible to create a computer with a contact person? This is my fields parameter:
$parametry_PC = @{
'name' = $ComputerName
'org_id' = 3
'location_id' = 1
'brand_id' = 29
'model_id' = 330
'osfamily_id' = 4
'osversion_id' = 328
'type' = 'laptop'
'cpu' = 'Intel Core i5-11300H'
'ram' = '8GB'
'serialnumber' = 'numerseryjny'
'asset_number' = 'AS-xxx'
'move2production' = '2021-12-14'
'purchase_date' = '2021-11-18'
'end_of_warranty' = '2024-11-18'
'contacts_list' = @{'contact_id'=344
'contact_name' = 'Doe'
}
}
Everything works except the contacts_list parameter. I get the following error:
iTop API returned an error: 100 - Error: contacts_list: A link set must be defined by an array of objects
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.