Skip to content

get-SilverfortServerGuid

SYNOPSIS

Gets the Silverfort GUID for a given computername

SYNTAX

get-SilverfortServerGuid [-Object] <String> [-jwtToken] <String> [<CommonParameters>]

DESCRIPTION

This function will return the Silverfort-GUID for a given computername which must be used in other functions.

EXAMPLES

EXAMPLE 1

get-SilverfortServerGuid -jwtToken $jwttoken -Object 'SRVCON09'

Receive the GUID for the server-object SRVCON09

CHANGELOG YYYY-MM-DD - Naam - Wat gewijzigd 2025-03-04 - MM - Initieel script

PARAMETERS

-Object

Name of the computeraccount. This is case-sensitive!

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-jwtToken

A valid JWT-token

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES