Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Help with variable

$
0
0

I am setting a variable like this:

$variable = "Domain/Username" 

But the actual variable has about 1000 usernames.

The actual length of text is 14,600 Characters

When I run this on my machine at work, I copy and paste the code into powershell and the variable doesnt get copied completely into powershell, if I paste it somewhere else (notepad++) it copies just fine.

I can set this variable on my home machine just fine.

Work pc = Windows 7 with powershell version v 5.1.14409.1005

Home pc = Windows 10 with powershell v 5.1.14393.693

submitted by /u/xsymbianx
[link] [comments]

The post Help with variable appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Latest Images

Trending Articles



Latest Images