module.psm1
$OutputEncoding = [System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8 class RequiredAdministratorAttribute: System.Management.Automation.CmdletBindingAttribute { RequiredAdministratorAttribute():base() { if (-not ([System.Security.Principal.WindowsPrincipal][System.Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)) { throw [System.Management.Automation.ValidationMetadataException] "This command requires administrative privileges" } } } foreach ($directory in @('Public', 'Private', '.')) { $path = Join-Path -Path $PSScriptRoot -ChildPath $directory if (Test-Path $path) { Get-ChildItem -Path $path -Filter "*.ps1" | ForEach-Object { . $_.FullName } } } $env:AI_INSTRUMENTATION_KEY = "67f501bc-da32-4453-9daa-3c432b8cdfb8" # SIG # Begin signature block # MIIdKQYJKoZIhvcNAQcCoIIdGjCCHRYCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBjaCVDcsAUetm5 # YMS+a1MIP7kNkrN1JTLOaIjoyc8wNqCCA0YwggNCMIICKqADAgECAhAdkYHz+qFO # vkQjYqzHr3pKMA0GCSqGSIb3DQEBCwUAMDkxNzA1BgNVBAMMLkNvZGVTaWduaW5n # IENlcnRpZmljYXRlIGZvciBQb3dlclNoZWxsIE1vZHVsZXMwHhcNMjQwNjEyMDUw # ODAyWhcNMjUwNjEyMDUyODAyWjA5MTcwNQYDVQQDDC5Db2RlU2lnbmluZyBDZXJ0 # aWZpY2F0ZSBmb3IgUG93ZXJTaGVsbCBNb2R1bGVzMIIBIjANBgkqhkiG9w0BAQEF # AAOCAQ8AMIIBCgKCAQEAwdSzTBb7ni0tRubblITxoGHzXlvwu8Y5ndoElOvIKaey # AFW8+tYCPG5zATsoGGE3f8g6Wtv8JgEjH45ZOhRBjghEVpw/9Iszal5SmucjUlqB # fMvts+M/x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