Parsing Event Logs with PowerShell
Over the past few months we have been encountering random user lockouts in Active Directory while performing an extensive server farm overhaul. As one of the primary sources for help in this small...
View ArticlePDT user creator in, hold it… PowerShell!
Well, I’ve read about it. I’ve tried some. I’ve never written one myself. But it finally happened! Using the PDT (PowerShell Deployment Toolkit) I’ve come to realise that creating the users and groups...
View ArticlePowershell script for report on logs within a specific time window?
Howdy (again),I am working on a process to automate a tedious function that currently involves:1. Taking log files from a specific directory on a server and that were modified or created within a 6...
View ArticlePowerShell – Uptime of Multiple Machines – Example for Custom Formatting and...
This post is to help you out in finding UpTime of one or more computers also you can pass file as its input parameter . Most of the time, the Powershell console might not fit all the required output...
View ArticleEasily Managing Azure VMs with Azure PowerShell Cmdlets
If you are working with Azure, you need to check out the Azure PowerShell Cmdlets. powerful + simple = AWESOME !Read More
View ArticleMake Graph Reports with PowerShell for Exchange 2010 and ActiveSync
This guide will help you create Graph Reports with PowerShell Scripts to receive better information on your server.Read More
View ArticleExporting Mailbox Permissions
Hi all,In our Exchange 2007 environment, I have this Powershell script which outputs mailboxes, which users have access to them and the type of access, such as Full Access, Delete Items etc. into a...
View ArticlePut cmd line exe into ps1 file and schedule task?
Hey Folks,Thank you all for the help, this forum is fantastic! I have a command line that does something with logs for a specific application. I want to take that command line and "store/wrap" it in...
View Articlepowershell invoke-command
Gents, i have a small invoke-command issue:Invoke-Command-ComputerName $computername-ScriptBlock {Get-Content-Path c:\test.log|Select-String'Hello'|Select-Object-last1 } if i run this command on the...
View ArticleStandards Based Identity and Role Management using PowerShell
A year ago I published an article and PowerShell module to simplify managing Standards-Based devices (specifically CIM and WS-Man). The use cases focused around setting the boot order, changing power...
View ArticleHow to unlock objects in ConfigMgr 2012 with Powershell
Crap! Do you know this message? Most probably your console just crashed a minute ago while you were editing this application and you’re trying to open up this application again. Well, too bad, please...
View ArticleAnnouncing PSReadLine – A bash-inspired readline implementation for PowerShell
Jason Shirk is back! He just announced the release of his new PowerShell project PSReadLine. In PowerShell 3.0, a hook was added to replace the command line editing experience in the console and Jason...
View ArticleSharePoint Start Workflow on All Items of a List via PowerShell
To start a List Workflow in SharePoint on All Items of a list is a pain through GUI but it's a piece of cake in PowerShell. Note that the Workflow will not start instantly (as opposed to triggering...
View Articleenable powershell on servers
is there a way to remotely enable PS on servers? What I have to do right now is: RDC into remote serverStart CMD as an AdministratorStart PSType in Set-ExecutionPolicy Unrestricted Can you do that...
View ArticleHow to find all hostnames in DNS belong to single IP?
For example.. I have two A records which belong to 1.1.1.1A.test.com ->1.1.1.1B.test.com ->1.1.1.1How do I use PowerShell to report such IP's which has more than one hostnames?
View ArticleDownload files from a Sharepoint Online Document Library
HiI need to write a powershell script that will download the contents of a SharePoint document Library to a local folderI have pieced together the following script which created the filenames on my...
View ArticleCopy-Item....
folks I have a simple script Copy-Item -recurse $i.FullName $destinationIt works great except on one server.Where it copies the entire content irrespective of whether it exists at the destination or...
View ArticlePS Script - Scheduled Task - result & Status?
I think I have a working ps script running as a scheduled task. What I've found is that the status is "ready", but I can see the process that the powershell script launches running as it's an app...
View ArticlePowershell regex
Hi all, this is a questions for all you regex ppl. and yes i know it is very easy ( not) i have this string :Handle gps message: time: null lat: 51.800250000000005 lon: 4.63995 speed: 0.0 course: 323.0...
View ArticleGUID Translate Script – PowerShell
Wrote a quick little PowerShell script to translate the GUID OpsMrg 2012 spits out and give you the display name.Note: This script is designed to be ran from the Operations Manger 2012 Shell /...
View Article