Tag: powershell


  • I generated some text files working with Get-Acl Powershell, but I did not know how to get Powershell to do some advanced features. (Basically, I wanted to the Select-String to include the next 2 lines and see whether a specific group was in that list. And maybe some exclusions.) So, I copied the files over…

  • Team lead of a group was curious which of his people have access to a certain system. I know the information is in an Active Directory Group. I knew where to find the group. So, I pulled up the AD Users and Computer, found the group and was dismayed because I was looking at three…

  • Search Within Files

    I keep some logs in a directory just in case I need to reference them later. The kind of data that has saved my bacon on a handful to times. Of course, it has over 3,000 files (16GB) in the directory. Of those less than a hundred were potentially relevant. And in the end only…

  • Counting Folders

    Back in June, after a whole seven months in our system, one of our clients hit Microsoft’s limit in the max number of folders within a folder. They are on track to do it again a year later. I lost the first script I wrote to figure out which directories were affected, so I wrote…

  • Bird of a Feather so open discussion. Intro question: How are you using it? How do you like it? Good sources of documentation? Information? Tools/Modules used? e.g. editors, PowerTab module, ISE ScriptingGuy, Codeplex, etc/ Using Powershell: User-written functions, cmdlets, modules Version 3? Version 4? Discussion: Passing around various books. Manning occasionally has half off deals…

  • Background: We got a notice a few minutes before last week’s maintenance window that side work to configure a tool ran into a snap. Today we found out that the server intended to be used did not have the right .NET version. Why did they not just install it? Good question. This made me curious…