The following example gets the unique identifiers of the items that are currently checked out.



Code Sample

# Set the username, or an empty string for all users.

$username = "";


# Gets the identifiers of the items that are currently checked out.

$identifiers = $administration.GET_CheckedOutItemIdentifiers($username);

foreach ($identifier in $identifiers)

{

    Write-Host $identifier;