Create User & Mailbox
Hello Gurus I have a win2008 R2 domain controller. I also have another member server which has Exchange 2010. I have to create 124 Users in 1 specific OU with their mailboxes in Exchange 2010. I need...
View Articlehow to get a content of a file to event log
I have got PS script to get the Regkey count to a text file. I am using this script in Task Scheduler & Can you please let me know if we can get the content of that file and have that logged to...
View ArticleSimple Powershell scripting with Azure Powershell cmdlets
In my last post I covered how you can write bash scripts using the azure cli. Right after posting, @dfinke pinged asking rightfully “What about Powershell? Can I do the same things?”. Yes Doug,...
View ArticlePowerShell 3.0 and Monitoring Earlier Versions of Windows Server and Hyper-V
If you’re not rushing to upgrade to 2012, you can still gain several of the benefits on your 2008 and 2008 R2 installations. If you have begun upgrading some of your systems to 2012 and still have any...
View ArticlePowerShell - Monitoring and reporting free disk space and the critical services
This script is designated to collect free disk space on your logical drives and state of some Windows services using PowerShell cmdlets.Also, this script will use local or remote SMTP Server to send...
View ArticleSorting high mem processes
HiI'm new to this forum as well as relatively new to PS scripting (though I've used it for networking purposes). I'm trying to make a script that will select processes with a higher value of paged...
View ArticleSetting WMI properties
Hello All (by the way Richard I read most of your book PowerShell and WMI, excellent book!)I have a brief question, I think I already have the answer but want a sanity check please.If you look at...
View ArticlePowerShell Scripts to create Windows 8 Shutdown, Restart, Logoff, Switch...
As you know Windows 8 has a Start Screen replacing the Start Menu. And this for many is still the concern as they are used to Windows 7 Start button providing this menu. Though I can say, that with bit...
View ArticleWindows PowerShell ISE Windows 8 Settings
Previously, the command-line support in Windows has always been considered laughable in spite of the scripting languages like VBScript and Jscript.These languages are not basically integrated into the...
View ArticleAdd hebrew to powershell
My mailboxes have hebrew names. When i want to view or use hebrew at the exchange it show up as gibberish. So i cannot use many of the commands. How can i set the exchange shell to use hebrew?
View ArticleIs it possible to set ISE v3 to v2 only mode
HelloI would like to try out the ISE that ships with PowerShell v3 to use enhancements like Regions.However the Servers at work are on PowerShell v2 at the moment, therefore if I load PowerShell 3 on...
View ArticleConverted ps1 script to exe using Make-Ps1ExeWrapperWithArgs.ps1 by Keith Hill
I converted my powershell script to exe using the Make-Ps1ExeWrapperWithArgs.ps1 script by Keith Hill. My script is a complete GUI interface and so I do not need the powershell console window sitting...
View ArticleWindows PowerShell: Essential Admin Scripts (Part 2)
In Part 1 of this two-part series, I covered the ‘Microsoft Troubleshooting Packs’ and ACL permission checks using PowerShell scripting. This article will focus on two more scripts, one to check if a...
View ArticlePart 1 - Using Intel vPro PowerShell Module with Symantec CMS
Intel vPro PowerShell Module enables you to extend beyond the base out-of-band operations within Symantec CMS. Whether a PowerShell cmdlet is within a TaskServer script, used as a standalone script, or...
View ArticlePart 2 - Using Intel vPro PowerShell Module with Symantec CMS
After completing Part 1, you are now ready to test and implement solutions with Intel vPro PowerShell Module. The first and most frequently requested Intel vPro PowerShell command for a Symantec CMS...
View ArticleGetting the number of actual physical disks in the HP RAID using WMI
Hello All,I wounder if someone can help me with the following question please.I have a number of HP DL Servers which have the useual RAID setsLets say I have two physical HDD in a RAID 1 (mirror...
View ArticlePowerShell accessing a Exchange 2003 Mailbox
I'm still pretty new to PowerShell and was wondering if there is a way to control Exchange 2003 Mailboxes with PowerShell.Specially what I am looking to do is set Out Of Office messages for different...
View ArticleProblem with GC and variable
When I use the follow command :gc D:\Outgoing\$($A + "-data.csv") -replace ('"',' ') | Out-File D:\Outgoing\$($A+ "-data.csv") -ForceI get the following error:Get-Content : A parameter cannot be found...
View ArticleQ: How can I quickly tell if my PowerShell window is running elevated?
A: For some actions to work in Windows PowerShell, your PowerShell session must be running elevated, so it has full administrative rights. If your PowerShell window is running elevated, the word...
View ArticleHow to Map Network Drives Using PowerShell
In years past, automating network drive creation required the use of primitive batch files, luckily for us you can now do it through PowerShell.Read More
View Article