< Back

Get-MyUserObjectId

Mon Jan 13, 2020 7:12 pm

NAME Get-MyUserObjectId



SYNOPSIS

Gets the current user (from Get-AzureRmContext) AD object ID.





SYNTAX



DESCRIPTION

Gets the current user (from Get-AzureRmContext) AD object ID.



This ObjectId is the baseline for any function that adds AAD principals or users to anything in Azure, making this

a very handy method to have nearby.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









RELATED LINKS