mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-15 10:45:48 +00:00
103 lines
1.3 KiB
Markdown
103 lines
1.3 KiB
Markdown
|
|
---
|
||
|
|
external help file: SnipeItPS-help.xml
|
||
|
|
Module Name: SnipeItPS
|
||
|
|
online version:
|
||
|
|
schema: 2.0.0
|
||
|
|
---
|
||
|
|
|
||
|
|
# Invoke-Method
|
||
|
|
|
||
|
|
## SYNOPSIS
|
||
|
|
Extracted invokation of the REST method to own function.
|
||
|
|
|
||
|
|
## SYNTAX
|
||
|
|
|
||
|
|
```
|
||
|
|
Invoke-Method [-URi] <Uri> [[-Method] <String>] [[-Body] <String>] [[-Token] <String>]
|
||
|
|
```
|
||
|
|
|
||
|
|
## DESCRIPTION
|
||
|
|
{{Fill in the Description}}
|
||
|
|
|
||
|
|
## EXAMPLES
|
||
|
|
|
||
|
|
### Example 1
|
||
|
|
```
|
||
|
|
PS C:\> {{ Add example code here }}
|
||
|
|
```
|
||
|
|
|
||
|
|
{{ Add example description here }}
|
||
|
|
|
||
|
|
## PARAMETERS
|
||
|
|
|
||
|
|
### -URi
|
||
|
|
REST API to invoke
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
Type: Uri
|
||
|
|
Parameter Sets: (All)
|
||
|
|
Aliases:
|
||
|
|
|
||
|
|
Required: True
|
||
|
|
Position: 1
|
||
|
|
Default value: None
|
||
|
|
Accept pipeline input: False
|
||
|
|
Accept wildcard characters: False
|
||
|
|
```
|
||
|
|
|
||
|
|
### -Method
|
||
|
|
Method of the invokation
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
Type: String
|
||
|
|
Parameter Sets: (All)
|
||
|
|
Aliases:
|
||
|
|
|
||
|
|
Required: False
|
||
|
|
Position: 2
|
||
|
|
Default value: GET
|
||
|
|
Accept pipeline input: False
|
||
|
|
Accept wildcard characters: False
|
||
|
|
```
|
||
|
|
|
||
|
|
### -Body
|
||
|
|
Body of the request
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
Type: String
|
||
|
|
Parameter Sets: (All)
|
||
|
|
Aliases:
|
||
|
|
|
||
|
|
Required: False
|
||
|
|
Position: 3
|
||
|
|
Default value: None
|
||
|
|
Accept pipeline input: False
|
||
|
|
Accept wildcard characters: False
|
||
|
|
```
|
||
|
|
|
||
|
|
### -Token
|
||
|
|
{{Fill Token Description}}
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
Type: String
|
||
|
|
Parameter Sets: (All)
|
||
|
|
Aliases:
|
||
|
|
|
||
|
|
Required: False
|
||
|
|
Position: 4
|
||
|
|
Default value: None
|
||
|
|
Accept pipeline input: False
|
||
|
|
Accept wildcard characters: False
|
||
|
|
```
|
||
|
|
|
||
|
|
## INPUTS
|
||
|
|
|
||
|
|
## OUTPUTS
|
||
|
|
|
||
|
|
### System.Management.Automation.PSObject
|
||
|
|
|
||
|
|
## NOTES
|
||
|
|
|
||
|
|
## RELATED LINKS
|
||
|
|
|