What Are You Doing Right Now
-
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
-
@scottalanmiller said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
Finding more ways to do some simple Windows administration tasks using Powershell rather than a GUI tool. Yay more efficiency!
We've increased the efficiency of PowerShell here by calling it from Linux boxes. We've gained a huge amount of automation performance from that. So silly, but it really works.
What do you mean, using PSCore on Linux to automate tasks on Windows? PSCore is still lacking a lot of functions.
-
@scottalanmiller said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
Finding more ways to do some simple Windows administration tasks using Powershell rather than a GUI tool. Yay more efficiency!
We've increased the efficiency of PowerShell here by calling it from Linux boxes. We've gained a huge amount of automation performance from that. So silly, but it really works.
Can you actually do manage Windows stuff from Linux with PowerShell now?
Yes.
Ah, cool. Then I may need to test some stuff... Does it have the Active Directory modules and such yet?
It's Powershell 6.0. I believe it can do whatever you can do on Windows... but I haven't really tested it yet.
No, you are thinking of PowerShell on Linux to manage Windows remotely. We are using BASH on Linux to run PowerShell remotely. So the version of PowerShell is whatever is installed on Windows.
Just got to the answer.
-
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
-
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's the only reliable way I've found to remotely connect from Linux to Windows to issue PS commands.
-
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's all I could think of.
-
Was thinking maybe they are running them via salt but kind of doubt that.
-
@coliver said in What Are You Doing Right Now:
Was thinking maybe they are running them via salt but kind of doubt that.
Salt does PowerShell easy but I don't think that's what he meant.
-
Looks like Reddit's having some issues.
-
@obsolesce said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
Finding more ways to do some simple Windows administration tasks using Powershell rather than a GUI tool. Yay more efficiency!
We've increased the efficiency of PowerShell here by calling it from Linux boxes. We've gained a huge amount of automation performance from that. So silly, but it really works.
What do you mean, using PSCore on Linux to automate tasks on Windows? PSCore is still lacking a lot of functions.
No, not needed. You normally automate on the target, not on the workstation.
-
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
Yes, works great.
-
@obsolesce said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's the only reliable way I've found to remotely connect
from Linuxto Windows to issue PS commands.FTFY. Even Windows to Windows, it seems way more robust.
-
@eddiejennings said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's all I could think of.
You can do PSRemoting, too, but why add the hassle?
-
@scottalanmiller said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's all I could think of.
You can do PSRemoting, too, but why add the hassle?
Didn't know you could use PSRemoting to connect from Windows to a Linux box.
-
@eddiejennings said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's all I could think of.
You can do PSRemoting, too, but why add the hassle?
Didn't know you could use PSRemoting to connect from Windows to a Linux box.
That is specific to powershell commands I think. PSRemoting specifically
-
@wirestyle22 said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's all I could think of.
You can do PSRemoting, too, but why add the hassle?
Didn't know you could use PSRemoting to connect from Windows to a Linux box.
That is specific to powershell commands I think. PSRemoting specifically
Enter-PSSession from Linux to Windows via SSH. That's how I've done it.
-
@obsolesce said in What Are You Doing Right Now:
@wirestyle22 said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@eddiejennings said in What Are You Doing Right Now:
@coliver said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
PowerShell on Linux is for managing Linux with PowerShell. We are using Linux to manage Windows boxes. So the PowerShell in question is on Windows. We can use anything... BASH, ZSH, PowerShell, GUI on Linux side.
You're using the built in OpenSSH functionality?
That's all I could think of.
You can do PSRemoting, too, but why add the hassle?
Didn't know you could use PSRemoting to connect from Windows to a Linux box.
That is specific to powershell commands I think. PSRemoting specifically
Enter-PSSession from Linux to Windows via SSH. That's how I've done it.
Yup, it works. Just not as reliable or elegant as SSH.
-
@rojoloco said in What Are You Doing Right Now:
@penguinwrangler they will replay it next week... Tuesday night I think.
Yup will be on the road to have my weekly supper with my kids.
-
Whew... disadvantage when Zeus uses your city as a target practice range. Spend all day taking care of servers that did not reboot properly because a generator's transfer switch didn't switch over like it should have. /sigh.
-
@dafyre said in What Are You Doing Right Now:
Whew... disadvantage when Zeus uses your city as a target practice range. Spend all day taking care of servers that did not reboot properly because a generator's transfer switch didn't switch over like it should have. /sigh.
Act's of God aren't covered by insurance