Adding AD Global groups to Domain Local via PS script.
Hi everyone,I have already posted a task here about cloning all AD global groups to AD Domain Local groups, and some members here have helped me correct my script so now it runs normally. Now I need to...
View ArticlePowershell query WMI TPM, Access Denied, remote computers
Good morning Spiceworks...I have a power shell question for you.I am attempting to start looking at our systems to implement Bitlocker on some of my domain computers. I am attempting to determine what...
View ArticleScript Outlook to Update GAL --> Contacts
Users are required to manually import all users in the GAL to their personal contacts list in order for those contacts to be seen on their phone natively. I've found several posts that have different...
View ArticlePowerShell - Internet Explorer Drop Down Selection Iuuses
Background:We have a Meraki wireless infrastructure with 20+ AP's. The configuration has multiple SSID's. There is a requirement that one SSID have a rotating WPA2 key. I have begun the process of...
View ArticlePowershell Add-ADGroupMember
I'm currently workign on a nice powershell script that i wil lshare after it's completed.The script allows me to copy a Ad user with properties and then add groups.The problems comes from the line that...
View Article32bit Script to Cleanup WinSXS
Hi There,I am trying to write a powershell script to cleanup the WinSXS folder under Windows Server 2012. I would like to roll this out via Naverisk (RMM), however to my understanding the Naverisk...
View ArticlePowershell command to export resource data from Office 365 resource mailboxes
Hello spiceworks community,We recently migrated to Office 365 and started using the resource mailboxes, so users can schedule their own appointments into the rooms located on our office.We are now...
View ArticleEncrypting and Decryption (symmetrically) a string
Hey guys,I want to experiment with some encryption of some sensitive strings in a script. I'd like to present the encryption and decryption in the following method: I write a script with a...
View ArticlePPT to wmv file - automate process
Is there a powershell script to convert a powerpoint file to WMV format or mp4 format please? Thanks
View ArticleSmall script to add email to AD accounts?
Hi everyone,I have a number of Google apps accounts I sync via AD.. This is, of course, contingent on the mail field being filled in.The domain for the email address is different depending on the OU...
View ArticlePowershell exchange 2k7 Secondary Smtp adress
I'm building a script at the moment and i pushed the primary smtp address.-PrimarySmtpAddress "$firstname.$Lastname@contoso"I've looked around the for adding secondary smtp address and i'm confused as...
View ArticlePowerShell - How Can I Separate/Rename vSphere PowerCLI ESXi Host Backups
Hi again,I created a script for backing up my ESXi hosts that is run in a bat and started in task scheduler as described in my post,...
View ArticleExporting rows from csv based on column contents
Hi all, I am working on a script and I am a little bit stuck. What I need to do is process a .csv and create a new .csv from it. Part of the process involves removing some junk rows, that part I have...
View ArticleCopy AD user with Powershell
Usually when I create a new user from the ADUC GUI, I select a disabled user called "*usertemplate" and create a copy of that user. I fill the new name, username, and etc of the new user but everything...
View ArticlePowerShell V1
I have written a script on powershell v1 and it will work when I run it from the powershell, but when I make it a schedule task it will error out.I have not found the correct syntax to read the error....
View ArticleCopy Folder from one mapped drive to another
Hi Everyone,I am new to powershel and I am trying to create a powershell script that will copy a folder from a mapped drive to another mapped drive. I have tried Copy-Item -Path V:\Folder -Destination...
View ArticlePowershell - Get/Set LDAP Property msNPAllowDialin
I am looking to grab all my user objects in a specific OU and validate what the property is for the msNPAllowDialin property. In our case it should be set to "Control access through NPS Network...
View ArticlePowershell GUI as RemoteApp
So after some fun scripting with PowerShell I have created a GUI using a script which includes a function for buttons and so on. That's not that important though as my question more or less is how I...
View ArticleBulk Import CSV to MS SQL from Powershell
I have, what I believe is a very simple script, that is giving me some weird problems.Powershell 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37...
View ArticleWhich is better?
I thought it might be fun to occasionally post a question about how you code PowerShell, every now and then. Here is one example. Testing for a particular value, and if you don't get it you need to...
View Article