Skip to content

Add find impacted objects PowerShell script#717

Merged
fhljys merged 3 commits intoAzure:mainfrom
Clare-Zheng82:0514-Add_script
Jun 5, 2025
Merged

Add find impacted objects PowerShell script#717
fhljys merged 3 commits intoAzure:mainfrom
Clare-Zheng82:0514-Add_script

Conversation

@Clare-Zheng82
Copy link
Copy Markdown

No description provided.

Clare Zheng (Shanghai Wicresoft Co Ltd) added 2 commits May 21, 2025 13:16
Copy link
Copy Markdown
Member

@fhljys fhljys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disable warning for get access token

function Get-PlainAccessToken {
$prev = $WarningPreference
$WarningPreference = 'SilentlyContinue'
$token = (Get-AzAccessToken).Token
$WarningPreference = $prev

$plainToken = [Runtime.InteropServices.Marshal]::PtrToStringBSTR(
    [Runtime.InteropServices.Marshal]::SecureStringToBSTR($token)
) 
return $plainToken

}

Comment thread Connector/FindImpactedObjects.ps1 Outdated
Comment thread Connector/FindImpactedObjects.ps1
@fhljys fhljys merged commit b00444f into Azure:main Jun 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants