python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Powershell 7.2 Profile can't create
In my pc with Windows 10 I installed Powershell 7.2.2 from Microsoft Store and now I wanna use Oh My Posh but i can't find, create or edit the $PROFILE file.
If I type echo $PROFILE this no return no...
Peter Wagner Sandoval Moreno
Votes: 0
Answers: 0
Azure Devops Powershell not showing file names for Get-ChildItem
I'm using the following task in an Azure DevOps pipeline on vmImage: ubuntu-latest:
- pwsh: Get-ChildItem *.* -Recurse -Path $(Pipeline.Workspace)
displayName: 'Show folder contents for debugging'
...
Jeroen
Votes: 0
Answers: 1
Powershell: Get-Package: A parameter cannot be found that matches parameter name 'Scope'
I am building a Nanoserver-based docker image in Docker Desktop (Windows ).
My Dockerfile looks like this:
# Nano Server - IIS
FROM mcr.microsoft.com/powershell:lts-nanoserver-20h2-20220318
SHELL [&...

Paul Taylor
Votes: 0
Answers: 1
Format-Table renders properties inaccessible
I want to make use of Format-Table to neatly format some properties. This works fine, but once I've called Format-Table on an object, I'm unable to access any of the properties for future use.
$Versio...

smholvoet
Votes: 0
Answers: 1