how to retrieve inbound emails when my servers are offline
Hi,Last week my servers and all devices including sonicwall and email relay smart host went offline due some power losses in data centre. We could make it up only after 66 hours ( two and half days).My...
View ArticleRename Description Field for AD Computer Object
Hello,I am trying to figure out how to change the AD description field for every computer object in a specified OU. The description would be the same for all computer objects. I would prefer...
View ArticleServer Availability and Failover Cluster availability reporting
Hello Colleagues,I have request from customer to generate monthly availability report for server & fail-over cluster groups.Do you have an idea of implementing it in powershell or by windows native...
View ArticleWhere can we get PowerShell PowerPack and PSImage from?
Most interesting articles about reading / setting EXIF tags in pictures from PowerShell (e.g. http://www.ditii.com/2010/07/01/powershell-image-module-with-exif-and-tagging-support-inc-gps/,...
View ArticlePowershell Issue - foreach {$username in $accounts}
Hello,$accounts = import-csv F:\path\file.txtforeach ($username in $accounts) {write-host $username}Obviously very basic and I am wanting to use the output to connect to the Office365 cloud and query...
View ArticleGet-SmbConnection is not recognized name of cmdlet
I am running Windows 7 with Powershell 4... Not sure why it is not working... Thoughts?
View ArticleForum to provide PowerShell basics
I like scripting in UNIX/Linux because the bash, ksh, csh and sh shells are so easy to work with.I have over the past 15 years worked with a few scripting environments on Windows, but none have really...
View ArticleCorrect way to construct variable based on other variable's name
Hello! I have done this topic based on some modifications of this thread. The problem is that I can't understand how to manipulate with selection of the columns as variable when iterating over loop....
View ArticleConfused about get-date and operators
I'm confused about get-date & operators.I'm working on a script to clear out print jobs that are older than 1 day or 24 hours. I got most of this off of a web page, I forget where, but I'm not...
View ArticlePower shell command not working in Power shell ISE
I was looking for guidance on a problem I was having and found a post fromBigteddy on TechNet that had this commandGet-ADUser -Identity sam -Properties memberof | select -ExpandProperty memberofI kept...
View ArticleCopy-ItemToAzureVM: Cannot find path 'C:\testfile.txt' because it does not...
http://gallery.technet.microsoft.com/scriptcenter/Copy-a-File-to-an-Azure-VM-d2ad9e1f/view/DiscussionsThere are a few of us who cannot get the very simple input text file to work. Can someone provide...
View ArticlePowershell script to Compress log files into .zip
Dear All,I am looking for script to do the following:-1. Scan all the *.log files within one folder2. Organize all .log files in descending order3. Get all the .log files (except the 1st descended...
View ArticleHaving issues running powershell script to get mailbox stats for Exchange 2013?
Hello,I have a script below that I want to use to get mailbox stats against my users in Exchange 2013, but I have an issue running it..#$AllMailbox = Get-mailbox -resultsize unlimited $AllMailbox =...
View ArticleSimply listing files on a NAS share using VBS
I have yet to find a webpage, article, or forum that gives insight on something I am sure other people have tried to do. Basically just list the files in a directory on a NAS share using VBS. I can do...
View ArticleScript running as Local System not executing correctly
Hi there, I've created a script that I'm trying to use as part of a VM deployment. The simplified version of the script is that I'm attempting to have the computer joined to the domain. I'm using the...
View ArticleChange compression ratio Using VBS.
Hello I need to script compressing files older than 60 days in specific directories. I am only getting back 9% of the folders I am compressing. Is there a way to change the compression ratio using...
View ArticleWindows Task Scheduler and PowerShell
Hey guys,I had a question I was hoping someone could help me with. Overview:I have two scripts that I use in an automated process of creating AD accounts. The first connects to a SQL HR database and...
View ArticleHelp with automating a msi install
I am trying to install a msi in our environment and have an easy question (hopefully).The msi is on a network share and I can get to it using my script.When I manually run it, it has 3 prompts that...
View Articlegwmi remote machine os
i am trying to get remote os operating systemso i gogwmi -Namespace "root\cimv2" -Class WIn32_operatingsystem -ComputerName xxxxxxbut the output does not give me the Operating system nameI need windows...
View ArticleInstall Chrome remotely through Powershell.
Hey guys, i'm trying to install chrome remotely through Powershell but nothing shows on the end users computer. I am using "Enter-PSSession -ComputerName XXXXXXXX" to connect to the remote machine and...
View Article