Forum Discussion

venka91's avatar
venka91
Copper Contributor
Feb 04, 2022
Solved

Hide Connection Established message with Connect-AzureAD

Hi there,   in my script i am writing "connect-AzureAD"   This asks for me a authentication. Once authentication completes, it shows me a message like below with my details.   Account Environme...
  • Jonathan_Allen's avatar
    Feb 04, 2022

    venka91 

    You can use 

    $null = connect-AzureAD

    if you want to dispose of the output from the connection or

    $var = connect-AzureAD

     if you want to have the output available for later processing

Resources