Answer the question
In order to leave comments, you need to log in
Why Get-AppxPackage | Select-Object Name is empty string in loop?
Hello! There is the following cycle
for ($i = 0; $i -ile 2; $i++){
Start-Sleep(4)
Get-AppxPackage | Select-Object Name
}
Get-AppxPackage | Select-Object Name
an empty string, although the rest of the iterations work properly? Without Select-Object or without a loop, everything works fine, but I need to output exactly for a specific field in the loop.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question