PowerShell Script - Full Access Permissions
We are now running Exchange on Office 365 using a hybrid solution, which means I cannot currently give users full access permissions to shared mailboxes on the online portal. I can however do it...
View ArticleWhat's the best reference to learn PowerShell, especially the Exchange version?
Finally getting around to using PowerShell and need a good beginners reference. I use Safari Online so have nearly every book available to me. I'm working on an Exchange Certificate problem at the...
View ArticlePowerShell Script to zip old files
Hey gang, I've been trying to form a PowerShell script that will look thru a given folder and find any files older than X days. Then take those files and add them to a .ZIP folder in a different...
View ArticlePowershell PasswordLastSet Script not pulling PasswordLastSet anymore.
So this has been a very interesting issue... I have a very small script with basically just one line of code that does something...The script is to get all the users in an OU pick out their...
View ArticlePowershell date filtering
I'm trying to return 1221 events that were produced today: Get-EventLog "Application" | where-Object {$_.EventID -eq 1221 -AND $_.lastwritetime -eq [datetime]::today} | Format-Table -autosize...
View ArticlePS script to check if WMI SNMP Provider is disabled on client PCs.
Hello all! I am having trouble fulfilling a request to check if domain computers have the "WMI SNMP Provider" disabled within the "Simple Network Management Protocol (SNMP) branch of "Turn Windows...
View ArticleProblems with my colon
Thought that title would get some extra attention. Here's what I'm trying to do in my attempt to make a small script into an advanced one, with organized and separate functions and validation; all...
View ArticleBatch printing IE pages to PDF
I'm stuck with an old application that only works with IE. I need to save all reports in PDF format where only one part is changing 'ID", rest of the path is always the same. I'm looking into ways of...
View ArticleWindows Application to Shutdown PC using Visual Studio 2010 and PowerShell
I am an Intern in a software company. I am asked to develop a windows application using Visual Studio 2010 and Powershell, to Shutdown/Restart my PC (using button click and timers). I am hearing the...
View ArticleJust starting to play...
PS C:\> $PSVersionTable Name Value ---- ----- PSVersion 4.0 WSManStackVersion 3.0 SerializationVersion 1.1.0.1 CLRVersion 4.0.30319.32559 BuildVersion 6.3.9431.0 PSCompatibleVersions {1.0, 2.0,...
View Articleps1 error: Object reference not set to an instance of an object.
Dear All! Could you please help me? I got this error message when I ran my .ps1 file with a standard user's account.Error message: Exception calling "ReleaseComObject" with "1" argument(s) : "Object...
View ArticleCannot load COM type Outlook.Application
I would like to run this: $Outlook = New-Object -ComObject Outlook.Application But I get the following error message: New-Object : Cannot load COM type Outlook.Application. At line:1 char:22 +...
View ArticlePowerShell script to gather user info, retrieve file, and email data/file back
What I want to do is create a PowerShell script that will accomplish the following: 1. Retrieve the machine name, user name, and ping results from the client who runs this script. 2. Retrieve a...
View ArticleHow can I change the servername and pathname in the home folder path in AD?
Is there a script that can change the servername and the pathname in the home folder path in AD? User accounts are located in a single OU. We migrated to a new file server. The domain controllers are...
View ArticleCalling all scripters - can't get PowerShell script to run when user logged out
Morning Spiceheads I am setting up a PowerShell script to run to alert non-domain users that their password is soon to expire (as directed on this thread...
View ArticleActive Directory and Powershell
Ok, first off I self-taught Powershell. I thought, "It can't be too hard can it?" And it hasn't been but for some reason my script will not do what it is supposed to do: Add-PSSnapin...
View ArticlePowershell: Select a Property of a Property
I am doing a script that creates a csv of distribution group memebership. A snippet: $list = Get-DistributionGroup -Identity grp1 | Get-DistributionGroupMember | Select-Object -Property...
View Articlea little help with powershell
Apparently I am still not in programmer mode because I could not figure out how to do something simple. I am writing a little powershell (that I can share once it is complete) to bring the 2008 R2...
View ArticlePowerShell Add-Item...Access Denied
Hey guys, So, I'm new to Powershell, so I have no idea what's going on. I'm trying to make a script to set up all the things we need for new users. Here's the code that I'm having trouble with......
View ArticleFile names beginning with ~$ needs to be removed from the servers
We had a virus that was removed , but after we clear it up we end up with file beginning with ~$ that needs to be removed. I would like to have a power shell script to get this removed.
View Article