skip to Main Content

Visual Studio Code – Why can PowerShell not run Python with activated environment, but runs when environment is deactivated?

I ran in Terminal of Visual Studio Code: (.env) PS C:UsersekuulDesktopGreatProjectsRoom reservation systemmainbackend-api> python No Python at 'C:Program FilesPython310python.exe' (.env) PS C:UsersekuulDesktopGreatProjectsRoom reservation systemmainbackend-api> deactivate PS C:UsersekuulDesktopGreatProjectsRoom reservation systemmainbackend-api> python Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64…

VIEW QUESTION

Azure – Convert Output or Object in Array to Table Powershell

I created a custom object $customsa = New-Object -TypeName psobject $customsa | Add-Member -MemberType NoteProperty -Name Name -Value (Get-AzStorageAccount).StorageAccountName $customsa | Add-Member -MemberType NoteProperty -Name Tier -Value (Get-AzStorageAccount).AccessTier $customsa | Add-Member -MemberType NoteProperty -Name Replication -Value (Get-AzStorageAccount).sku.Name $customsa | Add-Member…

VIEW QUESTION

Powershell – Get-AzureADAuditSignInLogs multiple filters

I'm trying to Get last signin date for Global Admins $role = Get-AzureADDirectoryRole | Where-Object {$_.displayName -eq 'Global Administrator'} $admins = @(Get-AzureADDirectoryRoleMember -ObjectId $role.ObjectId | select DisplayName, UserPrincipalName) Foreach ($admin in $admins){ $upn = $admin.UserPrincipalName $signons = Get-AzureADAuditSignInLogs -Filter "UserPrincipalName…

VIEW QUESTION
Back To Top
Search