Converting VBScript to PowerShell
I have very little knowledge of VBScript. But what I do know is that PowerShell is the replacement for VBScript. Would anyone be able to help me decipher this code into something PowerShell that I...
View ArticleIdiots Guide to Understanding Powershell Instructions from Technet
Every once in a while, our development team needs something tweaked in exchange for some of our business automation and sharepoint projects. One recent request was to allow "Exchange Impersonation"...
View ArticleGet-ADComputer extended properties set
Why oh why will this not work for me? Get-ADComputer -Filter * -Properties * I just want to get the extended properties sets gosh darn it! I have tried different variations of it, but nada.
View Articleproblem with csv
Hi everyone, I have an odd problem. I am building an inventory script. It will pull data from various locations (AD, our Help Desk program, vCenter, WSUS, McAfee EPO, and a couple other local sources....
View ArticlePowershell Studio vs Primal Forms Free CE vs PowerShellPlus Pro (also free)
I'm wanting to find something better than the ISE for my day-to-day scripting, and I've come across a few good choices, such as Idera's PowerShellPlus (which I admit, I've not really played around...
View ArticleReplace static DNS settings with WMI and Powershell.
I'm not sure if this belongs in the PowerShell or DNS group. I am in the process of decommissioning an old 2003 domain controller. All of my servers have a static entry for that server for DNS...
View ArticleWe would like to limit scans to software only.
We would like to limit scans to software only. We'd like to setup a new scan that only queries for software - or in lieu of an additional scan - limit the default.
View ArticleAutomate User Creation in AD and Exchange via Powershell on Web Interface
I am looking to create a web form that management can utilize to create, add, delete... users from AD/Exchange via a web interface, preferably. Any one done this before?
View ArticleDisable printing script powershell
Hi, Looking for a powershell script or command to disable printing indefinitely of a period of time. Thanks in advance for the help
View ArticlePowershell Update Company field in Exchange
Does anyone know what command is used to update the Company field under Organisation in Exchange 365? EG: Set-MsolUser -UserPrincipalName 'MYUSER' -Company "MYCOMPANY"
View ArticlePowershell - Deleting Files based on criteria
Hi folks, I'm trying to write a powershell script that only deletes files older than 13 days, and files that are only called certain things. $server = "STM-SVR-002" $fullpath = "G:\Backups\" + $server...
View ArticleImap from powershell?
Does anyone know of a way to connect to a imap server and download attachments from powershell? Has anyone used netcmdlets to do this? I need to connect to our voicemail system and download the...
View ArticlePowershell: the Catch doesn't catch it
I'm learning the Try, Catch, and Finally statements in order to trigger actions in case errors are detected in a recently implemented script. But first I want to test it on my PC. I user Powershell...
View ArticleServices using domain administrator account
With someone on another forum I created a script to check services on all the servers running under an administrator account. Also I wanted the script to log every server. Still something not right...
View ArticleExporting selected email accounts to csv
I am trying to run this query to export selected users to csv but for the life of me cannot get it to isolate to active accounts only and excluding inactive email accounts. import-module...
View ArticlePowershell: Testing Move-Item in a Try/Catch trap
I got this far in writing this script mostly thanks to the Spiceworks community. Initially, I wanted my script to send me a log file containing errors it generated. I found this goal very complicated...
View ArticlePowershell: Check if a file is open before using move-item
My script located here contains 2 powerful commands that either moves or removes files even if they are open. This is an issue since the source files could potentially (if a problem arise) be in the...
View ArticlePowershell Combobox GUI demo
Hello All,I am fairly new to powershell and was wondering if any of you out there may have a demo form which grabs values from 1 combobox and filters the values within the second combobox to prevent...
View Articlecreating new folders within my file structure with scripting
I have about 250 folders and would like to create two different type of folders within my file structure. I would like to have a script to auto generate a folder called documents and another folder...
View Article