New powershell user here. I want a list of all folders and subfolders and subsubfolders etc. from an Outlook Inbox Add-Type -assembly "Microsoft.Office.Interop
I'm new and still trying to figure out how to configure my development environment. I'm getting an error when using the touch command in Visual Studio Code. I c
When I try to run ionic commands like ionic serve in the terminal in VS Code, it gives the following error. How can I fix this? ionic : File C:\Users\Lakshan\Ap
I've got a macro looping with powershell and at the end of a run to clean up it kills and restarts the browser, Standard FireFox version firefox.exe Using: task
I have PowerShell script, that I would like to use in deployments of Dynamics 365 to migrate an Access Team Template to our Test and Prod environments. I have a
I have an object that holds a list of patches (actually 2 lists) One of the patches in the list contains the words "Cumulative Update" in his title so I run in
I would like to know the logic or the piece of powershell code that can be used to monitor for a service shutdown event and trigger an action. So when the servi
I want to be able to add multiple entries to my Windows Credentials Vault using PowerShell. I searched a bit and came across this code: [Windows.Security.Creden
Here is code # | Get DeviceID and Name of GPUs presented in system $GPU_Inf = Get-CIMInstance -Query "SELECT Caption, PNPDeviceID from Win32_VideoController" #
I am trying to open a HTML file in Microsoft Edge browser from PowerShell. Below code opens HTML in Microsoft edge &'C:\Program Files (x86)\Microsoft\Edge\A
I want to run Powershell script on agent from Jenkins declarative pipeline. It hangs on the script execution step (click on Job logs) and i have to forcefully e
In powershell, how can I... explicitly define all the env vars for the next command? I don't want any system env vars if possible, After this command runs I don
I am on windows 10 and my default shell in vscode is git bash which is used by all tasks. For a specific task, I want to use powershell. Is this possible
I'd like to export something like the view of the subnets that exist in a VNET like is displayed in the portal. Unfortunately there isn't an option to export th
I just started writing scripts in PowerShell. The desired script is supposed to create a local GroupPolicyObject (GPO) which will be specified afterwards. Resea
I have an environment variable named GOPATH. In old style command shell I could run the command %GOPATH%\bin\hello like this: Is there an equivalently simple c
I am trying to run a Powershell script which calls Get-ADUser command. Something similar to this question Powershell Active Directory commands not working in Po
I'm usually not programming in C++, but this time I had to and I've got a problem executing my code in PowerShell (which I have never done before). The program
I'm creating a window task using powershell, everthing is ok, but i can't find how to add the Author name. Register-ScheduledTask as a parameter for description
I am trying to write files to Azure File Share using the unc path. The script runs as expected when run interactively. But, when run from the SSIS execute proce