Thank you Jason for helping me out
On Tuesday, August 23, 2022 at 6:58:15 PM UTC+5:30 jsm...@scimarketview.com
wrote:
> Hello Nayan,
>
> Unlike Bash, PowerShell (PS) stores environment variables in a separate
> namespace from "regular" variables. The code sample you provided references
> regu
Hello Nayan,
Unlike Bash, PowerShell (PS) stores environment variables in a separate
namespace from "regular" variables. The code sample you provided references
regular variables, not environment variables.
The easiest way I know of to work with (existing) environment variables in
PS is to use
I trying like this
[image: env_val.png][image: powershell.png]
but non of the work for me to print the msg
On Tuesday, August 23, 2022 at 6:27:18 PM UTC+5:30 jsm...@scimarketview.com
wrote:
> Hello Nayan,
>
> It's tough to say without seeing your code. There are multiple ways to
> access vari
Hello Nayan,
It's tough to say without seeing your code. There are multiple ways to
access variables in PowerShell, depending on what you are trying to achieve.
Write-Output (or its alias, echo) takes an object and outputs it to the
PowerShell pipeline. By default, the pipeline's output is sent
thank you for replay Jason
i resolve the issue I am truing to run powershell script like
.\filename.ps1 but its hugs now I am running as
* powershell.exe --executionpolicy remotesigned -File file.ps1*
But now the issue is I unable to access the environment variable in power
shell script I tried e