How To Combine PowerShell Cmdlets
Going forward, PowerShell will be Microsoft's preferred mechanism for managing Windows Server and other Microsoft server products. PowerShell is a command line interface in which administrative actions...
View ArticleWriting .NET in PowerShell and creating TFS Teams
Did you know that you could be writing .NET in PowerShell? PowerShell can be used to instanciate and call any .NET object and that includes the TFS API.Read More
View ArticlePowerShell for SharePoint 2013 Analytics Feature
Thanks a lot to Thomas Molbach from Microsoft. He sends me his Scripts from his Session SPC 202 from last year SharePoint Conference in Las Vegas. So most of the PowerShell commands in this article are...
View Article4 Tips for Using Get-Help in PowerCLI/PowerShell
Powershell/PowerCLI is really good at giving you the information you ask for…however, it isn’t always easy to know what to ask or how to ask. Hopefully these tips will help you get more of the...
View ArticleView installed updates.
Hi,Could you please check this post.If anyone has any information how to get all installed updates on a PC.http://powershell.com/cs/forums/t/13208.aspx
View ArticleView installed updates.
Hi,In powershell is there any cmdlet or any other way to list all the installed updates on a windows 7 PC. I have tried Get-Hotfix but it not giving the total list of updates installed on a PC.
View ArticleMaking all users in a group change their password the next time they log on?
Yesterday, I created and ran a script which added ~900 users to Active Directory and added them to a group called Teachers. I used one of the default passwords that our IT Department came up with for...
View ArticleCall Powershell script from VBA using Shell() function
Hello,I'm trying to pull a path string variable from the following VBA code into a PS script::VBA CODE:Shell("powershell.exe -ExecutionPolicy Unrestricted -File...
View ArticleUsing PowerShell to Copy NTDS.dit / Registry Hives, Bypass SACL’s / DACL’s /...
Currently there are a few ways to dump Active Directory and local password hashes. Until recently, the techniques I had seen used to get the hashes either relied on injecting code in to LSASS or using...
View ArticleBye-Bye Diskpart: PowerShell Is Moving In!
I’ve been writing a lot of Active Directory (AD) PowerShell columns lately, and I aim to continue, but this month I want to take a break and talk about some truly cool PowerShell cmdlets: the volume...
View ArticleGet-Eventlog -LogName Wildcard?
Dear POSH Experts, As per the help documentation, Get-Eventlog's LogName parameter doesnt accept wildcards,but when I run the below commands, they execute just fine...Get-Eventlog -LogName...
View ArticleMP3 file name Patterns
I'm trying to order my MP3 files. I have lot of them and most of them don't have tags, the good thing is the name of the artist an the title of the song are in the name of the file. I have files named...
View ArticleChange AD attributes for users from Text
HelloI have two text files. One contains username. Another one contains the value that I want to change for according usern.username.txtuser1user2 employeeid.txt100200Here is my command to change the...
View Articlerun script from scheduled task
I have a simple poweshell script that must run from scheduled tasks daily. The script runs fine in the powershell-ise as well in the administrator command window as well as double clicking the *.bat...
View ArticleDownlaoading files from Web link or if somebody knows about SVN repository...
Hi Can I get files from SVN repository/ web link which asks for credentials I need to go to a particular folder & copy/download files please help
View Articleuser monitoring/data protection
I have been asked to create a a powershell script that will produce csv files listing every file in C:\users\ and d: and save them to my fileserver to somewhere like \\fileserver\audit\We would need it...
View Articlehow to pass parameters into functions below
$rootpath = "D:\SSIS_Package_Deployments\"$repository = "D:\SSIS_Package_Dependencies\"$e = "ODMamImport1"$m = "\" Createpath ("New-Item $rootpath$e$m"Deployment_$((get-date).toString('yyyyMMdd'))"...
View ArticleInstall SharePoint Designer with PowerShell – Chocolatey SharePoint
Almost weekly there is a new tool that you can install with the very awesome chocolatey. In the case you have not heard about chocolatey, its a package manager for Windows similar to apt-get for linux...
View ArticleCoretech Releases Awesome WMI/PowerShell Browser
Coretech’s latest project should help significantly lower the bar to ConfigMgr and systems management automation with Powershell. The Coretech WMI and PowerShell Browser allows you to intimately...
View ArticlePausing PowerShell Script Execution
Here's a quick scriptlet that displays a message and also waits for a key to be pressed before the PowerShell script continues.Read More
View Article