Removed erroneous Write-Host
This commit is contained in:
parent
e9435d15d3
commit
8cc3bbbeb4
|
|
@ -272,7 +272,6 @@ $SCCMNAMESPACE="root\sms\site_100"
|
||||||
}
|
}
|
||||||
|
|
||||||
$uri = "${using:Tenant}/api/odata/businessobject/cis`?`$filter=Name eq '$comp'&`$top=1&`$skip=0"
|
$uri = "${using:Tenant}/api/odata/businessobject/cis`?`$filter=Name eq '$comp'&`$top=1&`$skip=0"
|
||||||
Write-Host $uri
|
|
||||||
try {
|
try {
|
||||||
$Query = Invoke-RestMethod -Method GET -uri $uri -headers ${using:Headers}
|
$Query = Invoke-RestMethod -Method GET -uri $uri -headers ${using:Headers}
|
||||||
} catch {
|
} catch {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#region Module Import Block
|
#region Module Import Block
|
||||||
|
|
||||||
$ErrorActionPreference = 'SilentlyContinue'
|
#$ErrorActionPreference = 'SilentlyContinue'
|
||||||
#DevStage can take either Dev or Prod as values
|
#DevStage can take either Dev or Prod as values
|
||||||
$devStage = 'Dev'
|
$devStage = 'Dev'
|
||||||
#Locations for dev build and prod build
|
#Locations for dev build and prod build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue