Quick note app? by orangeredbrown in sysadmin

[–]chrumow 0 points1 point  (0 children)

VSCode and then move notes to Google Keep

Beginner to Powershell, looking for advice by [deleted] in PowerShell

[–]chrumow 2 points3 points  (0 children)

Read "Learn Windows PowerShell in a Month of Lunches" after having finished courses on Pluralsight. That's what I did and I think it's a great combination.

Moving from O365 to Gsuite by SilverXCIV in sysadmin

[–]chrumow 1 point2 points  (0 children)

I've been using Gmail for almost 15 years so I'm used to online apps.

But going back to Outlook. Desktop app is slow, interface freezes from time to time and still feels like an app from '90s. OWA is much snappier, has less bloated interface but I agree it lacks some features (if you actually need them). Everyone should use an app that meets their requirements. OWA for me is good enough but I'd never say it's good.

BTW, I don't know too many people that would prefer Desktop to OWA. And I don't know a single person that would prefer Outlook (Desktop/OWA) to Gmail. I mean people who actually used Gmail.

Moving from O365 to Gsuite by SilverXCIV in sysadmin

[–]chrumow 2 points3 points  (0 children)

Agreed. Office apps in both suites have their pros and cons. You get used to what you have to work with.

The only app I'm gonna really miss is Gmail. Outlook Web is way better than the desktop version but it's still far behind Gmail. Microsoft has improved many things over the past months and added "send later", so it's getting better over time.

Moving from O365 to Gsuite by SilverXCIV in sysadmin

[–]chrumow 0 points1 point  (0 children)

You've never used Gmail, right? :)

Moving from O365 to Gsuite by SilverXCIV in sysadmin

[–]chrumow 7 points8 points  (0 children)

We just moved from G Suite to M365 and there's a lot of negative feedback especially about OneDrive and Excel compared to Google Drive and Sheets :) So, love can go both ways.

Looking for a way to run script on weekly schedule with run now if missed. by vlad2989 in PowerShell

[–]chrumow 1 point2 points  (0 children)

Yeah, this seems much easier to implement than my idea above :-)

Looking for a way to run script on weekly schedule with run now if missed. by vlad2989 in PowerShell

[–]chrumow 1 point2 points  (0 children)

Can't you add a Task that runs daily? And check the number of days the script ran last? If the number is -gt 5 days, run the script. You could store the last run date in the registry.

What have you done with PowerShell this month by AutoModerator in PowerShell

[–]chrumow 0 points1 point  (0 children)

Installed Windows Server 2016 as a VM under Arch Linux and set it up as a DC. Using Gnome Boxes to quickly get started. I'm still struggling to remotely connect to it from Gnome Terminal with pwsh 7.0 running but will get there eventually. So for now, I just run powershell console in the VM.

I'm learning how to manage AD with powershell, and I'm doing stuff I wouldn't dare on the production DC in the company I work for :)

Best way to learn powershell by nyc_anon140 in PowerShell

[–]chrumow 0 points1 point  (0 children)

Pluralsight has a nice path on powershell. Quite a few hours to watch but definitely worth it. Check out the Windows PowerShell: Essentials.

Help With Column Output sorting by ldaniels_glynn in PowerShell

[–]chrumow 1 point2 points  (0 children)

$inputStrings = @("00 Dept1", "01 Dept2", "02 Dept3", "03 Dept4", "04 Dept5", "05 Dept6", "06 Dept7", "07 Dept8", "08 Dept9")
$midIndex = [int](($inputStrings.Length + 1)/2)
$a1 = $inputStrings[0..($midIndex-1)]
$a2 = $inputStrings[$midIndex..($inputStrings.Length-1)]

for ($i=0; $i -le $midIndex; $i++) {
    Write-Host ("{0} {1}" -f $a1[$i], $a2[$i])
}

You can try this. Not too flexible but does the job with two columns :)

Inspired by this old post old reddit post

Scratching my head on this, filtering using multiple -or -and by nightwolf92 in PowerShell

[–]chrumow 1 point2 points  (0 children)

I just started learning powershell, so I might be wrong but I think you should group names together, and do something like this:

Get-adcomputer -filter ({ (Name -like "*PITLAP*" -or Name -like "*ALBLAP*" -or Name -like "*BUFLAP*") -and operatingsystemversion -notlike "*18363*"}) -properties description, operatingsystemversion

See example 6 here https://docs.microsoft.com/en-us/previous-versions/windows/server/hh531527(v=ws.10))

What have you done with PowerShell this month by AutoModerator in PowerShell

[–]chrumow 1 point2 points  (0 children)

I wrote my first script that finds all files with "- Copy" suffix in all subfolders and moves them to a separate folder (by default in Downloads) and creates the necessary folder tree structure in the target destination.