Need to run on multiple remote machine
Hello Guys,Good day!!!!I need to run the below VB script on multiple remote using the input file and capture the out on excel or text file.On Error Resume Next Const wbemFlagReturnImmediately =...
View ArticleHelp with Powershell - Trying to create script
Hello, I'm very new to powershell and just need some help / advice to accomplish a need. I have written this simple powershell command but I need to try and turn it into a scrip that allows user...
View ArticleCreate troubleshoot wizard
Hi,I want create wizard for users, like troubleshoot wizard in windows.Have you seen any software helps with this. Or it is a best way to use visual basic?
View ArticleChange to a different tenant ID in O365 Powershell.
Hi, Does anyone know if it is possible to switch to a different tenant ID(like if you were a partner) of say a customer of yours and then allowing you to run commands like Add-MailboxPermission on...
View ArticleError in copying the files via Task-scheduler by running Powershell script
Hi Guys,I am trying to copy files from a Network location to a local folder using Powershell scripting. The very strange thing is, when I run this script via Powershell ISE it working fine. But when i...
View ArticleHow to analyze the PowerShell console output with tools such as Excel and...
In order to find out why system drive used up so fast, I modified the script described in https://blogs.technet.microsoft.com/heyscriptingguy/2012/05/25/getting-directory-sizes-in-powershell/ to...
View ArticleNeed help with collecting combined data into a variable and out to another...
I have modified some code to work with what I need to collect data from two different commands into one. It works great for one server but when I try to run it against a list of servers it falls apart...
View ArticlePowershell - detecting odd/even computername
Hi All,I have the following code as part of a larger script;$OddEvenCheck = $ENV:COMPUTERNAME.Substring($ENV:COMPUTERNAME.Length - 1) $OddEvenCheck = if ($OddEvenCheck % 2 -eq 0 ) {"even"} Elseif...
View ArticleHaving problems with setting Applocker policies GPO through Powershell
I built a powershell script to automate the setting of a GPO for Applocker so it can be deployed on multiple domains. Unfortunately I receive a weird error when the GPO has been set, in the console of...
View ArticleActive Directory - PreHash Password While creating Users
Hi We are trying to automate the Active Directory Deployment in cloud, as part of that we are looking to create users provided users provide us a pre-hash value of their password and using that we...
View ArticleCustom Scripts.
Team,I would like to get a PS script to send emails to the user's personal email.Please note the users will have mailbox on-prem but I want the user credentials to be sent to their personal email...
View ArticleCertificate export script along with password complexity and password age limit
I know we have export-certificate cmdlet. But is there a way we can write an script for powershell script for windows 7 or powershell version 2 in which this module is not available. Script also should...
View ArticleI need help with my new Security script!
Hi guys, I'm new at scripting and I'm testing several things for the server I have mounted. Now I'm trying to create a script for the security log, which I want to do the following things: 1)Ensure...
View ArticleExport a list with users where you can see the different properties/services...
Hi,I'm a big novice on Powershell(trying to learn).Much appreciated for all the help I can get.Is there a Powershell script or a way to export a list with users where you can see the different...
View ArticleFolderRedirection
We have some users with redirected folders that are not being replicated to the server. We cannot figure out why. Is there some type of Poweshell script that can be ran on the clients that will...
View ArticleDrives mounted as Unavailable on the remote machine using Invoke-Command
Hi Everyone,After installing the latest Windows updates, I'm facing an issue when I try to mount a network drive on a remote machine using theInvoke-Command cmdlet.My requirement is to run the mount...
View ArticleClean up old service accounts
I have five domain controller that i need to powershell against, essentially i need to clean up service accounts (user accounts) to determine what can be safely deleted, and query the following into a...
View ArticleWhere is an AD Group Used within my environment
I can pull the AD group members, but am having trouble getting my script to go out and see where the group is used within my environment, i.e. on remote servers. I am only concerned with the one AD...
View ArticleCSV Maniputation
I need to take an exported CSV file with student information and put it in a new csv file with only the information from students grade 3-12 while replacing the school code with a name and adding their...
View ArticleHow to take the path for a sevice/executable and then use the path to...
Hi all,Looking for an alternative to check the path of one Service, store it in one variable and then use it to set the location for next commands, basically to have the script working on Windows 32...
View Article