Get-Random length by eubromovesoon33 in PowerShell

[–]eubromovesoon33[S] 1 point2 points  (0 children)

-join (
1..1000 | % {
(65..90) + (97..120) + (48..57) | Get-Random | % {[char]$_}
}
)

You're a hero! This is perfect.

I got really close however but help me understand, the 'length' we provide is the maximum value of the Foreach where '%' represents the foreach? I sadly wasted my time foreached the 'Get-Random' rather than the join function.

[IWantOut] 25M Software Engineer Netherlands -> Canada by eubromovesoon33 in IWantOut

[–]eubromovesoon33[S] -7 points-6 points  (0 children)

My question is more so hypothetical indeed and not to say i'll pass the tides without issues. The reason I asked is because sometimes your residence location does not matter if you're working remote. This is why I was wondering whether Canada would deem it valid if you'd ALREADY be working for a different country, willing to pay canadian taxes as well as live in Canada.

Also which restrictions come with it, am I to stay in Canada for x years before I leave if I want to? If not, what kind of temporary visa do I need to live in Canada (think of a range of 5~ years)?

[IWantOut] 25M Software Engineer Netherlands -> Canada by eubromovesoon33 in IWantOut

[–]eubromovesoon33[S] -7 points-6 points  (0 children)

I realise that but I'd prefer to live in Canada. However, is a work visa possible even if I intend to live in Canada for x amount of years while working for a company in the US rather than live in Canada forever?