Need powershell script to check patch levels
I have a bunch of servers in production that I need to collect information from a automation tool and need a powershell script that will collect the following . I have the automation framework...
View ArticleRenewing a certificate issued by a CA
I have a few certificates in a certificate store will be expiring shortly. I want to renew the certificate. I can do this manually but is it possible to automate this using Powershell. I've read about...
View ArticleNeed help ! Convert from VB Script to PowerShell
Hi Guy,I'm try to convert vb script below to Powershell codePlease help,--------------vb------<script language=vbscript>strPwd1 = GeneratePassword("abcdef", 4)strPwd2 =...
View ArticleTwo modules have the same name
I have two dll files with the same name, Test.dllIn dll files define different cmdlets.How can I use the two Modules in one powershell session?Is that possible?Import-Module -Name...
View ArticleVM Tools Status Report in HTML Format for Multiple Vcenter
Hi Team I have created script for vm tools status however the report format is not getting properly,., I can get the title for the first vcenter not the second name in the report I need the report like...
View ArticleBatch to PowerShell
Good Morning, I have this bat file which is called from SCCM... I was hoping to start in changing some of these to powershell. I'm pretty green so if anyone could suggest a good resource that ties PS...
View ArticleDeleting and and moving machines lastlogontimestamp older than 90 days
Hi, I'm looking for some assistance, I'm having some difficulty with one aspect of my script and would like to do the following. 1) Find computers with last logontimestamp older than 90 days within...
View ArticleUse PowerShell to Reset Machine Domain Password
How can I easily use PowerShell to reset a machine's domain password that has expired?A: If a machine has its state reset to a previous point in time, such as through a backup restore or more commonly...
View ArticleSplitting tab delimited flat file
I am a newbie to PowerShell. My data looks similar to this with no headers:10422163 3381051 1948248 2014-09-24 2014-10-24 Discount .37 1.00 .37 N10422231 3392947...
View ArticleUpdating and changing AD user properties with powershell
Hey guys, This is my first time posting here. My powershell skills are beginner at best and I am trying to tackle a big project. I have been tasked to update the corporate phone directory for all of...
View ArticlePowershell script to create footer on the sharepoint site collection
Hello, I am looking for a powershell script to create footer across the site collection. Any help is greatly appreciated.Thanks,Raj
View ArticleDelete all empty folders in a directory tree - oops, script deletes files too
I have a large folder that has both empty and full folders. I am using SBS 2008 and PowerShell 2.0. I used the following script (running from within the PowerShell ISE as an administrator) to...
View ArticleWait for powershell script to complete before starting another script
Hi Guys,I have big powershell script (which run another scripts), which run on Jenkins machine, but once ran, Jenkins did not wait till is finished, and give an error message.What I want is that this...
View ArticleShare Permissions
(Please visit the site to view this media)HiI've read a post on your site regarding this topic but I don't believe a solution was ever reached. Is there a way to get 2 specific shares and their...
View ArticleTest-Path from a list
This should be fairly easy and i did similar with test connection. I have a list of home drives, that were established in AD.90% have this set but the folders do not exist. I used $Test = get-content...
View ArticleFind if email does not exist
I need to find a way to discover on a nightly basis if an email is not received in an inbox then send an email of it does not exist. The email come in between 7-8 PM MST from an internal host just...
View ArticleNo tiles, no NAP – next Windows for data centre looks promising
Whereas Windows 8 has been mired in controversy from the outset, the parallel Server 2012 and Server 2012 R2 releases (based on the same core code) have been well received.Read More
View ArticlePowerShell Script to Run Before Certain Service
Q: I need a PowerShell script to run every time my server starts, but I need it to start before a certain service; how can I do this?A: I recently had someone ask this question because they wanted to...
View ArticleResetting the Local Administrator Password on Computers
A secure way to reset and store Administrator account passwordsRead More
View ArticleAutomated Server Setup in Windows Server 2012 and Windows 8, Part 1
PowerShell tips for streamlining the processRead More
View Article