Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Forem
1.0.0
Tests/Test-API.ps1
function
Test-API
{
param
(
[
Parameter
(
Mandatory
)
]
[string]
$APIURI
)
$Articles
=
Invoke-RestMethod
-Uri
$APIURI
$Count
=
$Articles
.
Length
return
$Count
}