Skip to content
Menu

wisefaq.com

Stories, and bit rot, from the IT Support Trenches

Primary Menu

  • Home
  • About Dale
  • Useful links
  • WiseFAQ’s Lists O’ IT Goodness
Search
Home » Archive for  PowerShell

Category: PowerShell

Adventures in PowerShell and Exchange Online – some notes

Posted onMarch 24, 2021March 23, 2021

Get-Mailbox The documentation for Get-Mailbox suggests using Get-EXOMailbox instead. Which you can do by installing PowerShell 7 and then installing the Exchange Online V2 PowerShell Read More …

CategoriesPowerShell

ipconfig /flushdns now requires elevation?

Posted onOctober 29, 2020October 20, 2020

Customers had started to report that ipconfig /flushdns now requires Local Administrator rights. C:\>ipconfig /flushdns The requested operation requires elevation. Not all customers are seeing Read More …

CategoriesHow To, Networking, PowerShell, Windows 10

“My network drive drops out”

Posted onJuly 9, 2020October 5, 2020

Had a customer complaining that their computer would lose the mapped network drives. Turning off the disable “turn off this device to save power” feature Read More …

CategoriesPowerShell

New-SMBMapping vs. New-PSDrive

Posted onApril 23, 2020July 2, 2020

This’ll be an expanding topic I suspect … New-SMBMapping (link) Seems to be the Microsoft’s preferred method. Mapped network drive may fail to reconnect in Read More …

CategoriesPowerShell

Deleting missing or dead iTunes music entries

Posted onSeptember 25, 2019October 17, 2020

For whatever reason, I ended up deleting some MP3 files from my music storage, and my iTunes Library still had (now “dead”) links to the Read More …

CategoriesiPhone, PowerShell, vbscript

The last time my computer was seen on the network …

Posted onJuly 30, 2018July 29, 2018

was something I wrote about 8 years ago, in Detecting inactive computers in your AD domain. So it was time to update that*. Get-ADComputer -Filter Read More …

CategoriesActive Directory, PowerShell

Using PowerShell to ZIP something.

Posted onJuly 19, 2018October 17, 2020

I needed to ZIP-up some log files in a number of subdirectories.  In the past, I have used the PKZIP utility. I couldn’t find my Read More …

CategoriesHow To, PowerShell

Getting the user name for a given security identifier (SID)

Posted onJune 28, 2018October 17, 2020

Two lines of Powershell code: PS C:\> $osid=New-Object system.security.principal.securityidentifier(“S-1-5-21-593069383-354653268-975305329-98179”) PS C:\> Write-Host $osid.translate([system.security.principal.ntaccount]) Output is in the form of <DOMAIN>\<USERID> ie. NODDYLAND\admin-bike01 Reference: Microsoft: Well-known Read More …

CategoriesPowerShell

Getting a list of users in a particular AD Group

Posted onJanuary 15, 2018October 17, 2020

Get-ADGroup “<GROUP NAME>” -Properties Member | Select-Object -ExpandProperty Member | Get-ADUSer -properties Displayname,Description,EmailAddress | Select Name,Displayname,Description,EmailAddress will cause the following to display Name    Displayname   Description   Read More …

CategoriesActive Directory, PowerShell

Group Policy and WMI Filters–Round 2

Posted onSeptember 27, 2017

This is more of a link dump than anything else.  I was asked what I thought of a WMI-related Group Policy change. I don’t much Read More …

CategoriesActive Directory, PowerShellTagsActive Directory, Group Policy, WMI

Post navigation

← Older posts

Blogroll

  • A Green Cow
  • HillBilly Mansion

IT Related

  • Group Policy Administrative Templates Catalog
  • Official Microsoft Team Blogs List

OH&S

  • Asbestos
  • Brodie Panlock

Other stuff I read

  • Become Awesome in Excel
  • desiringGod
  • Harvest
  • Impro Wiki
  • Melbourne Laneway Learning
  • MyFridgeFood
  • Pet Loss Blog
  • Phil Factor
  • Writing or just Practicing
Copyright © 2021 wisefaq.com. All Rights Reserved. | Clean Journal by Catch Themes
Scroll Up
  • Home
  • About Dale
  • Useful links
  • WiseFAQ’s Lists O’ IT Goodness