mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
set-snipeitcompany
This commit is contained in:
parent
1b5e5e5237
commit
dfb271dbec
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ function Set-SnipeitCompany()
|
||||||
process{
|
process{
|
||||||
foreach($company_id in $id){
|
foreach($company_id in $id){
|
||||||
$Parameters = @{
|
$Parameters = @{
|
||||||
Uri = "$url/api/v1/companies/$companyid"
|
Uri = "$url/api/v1/companies/$company_id"
|
||||||
Method = 'Patch'
|
Method = 'Patch'
|
||||||
Body = $Body
|
Body = $Body
|
||||||
Token = $apiKey
|
Token = $apiKey
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue