List Boot time of several computers
I have this command below that displays the date and time a computer was rebooted.
Systeminfo /s ComputerName | Find "Boot"
it works fine, however I can do…
I have the below script that pulls from a list and outputs to a csv the samaccountname and mail attributes.
What I'm trying to do is next to each user check if each user is a member of a certain AD…
I'm tying to write a Poweshell Script to delete objects from AD as well as SCCM
so far i have to deletion part working but i'm trying to add the reports and this is where I need help
I am trying to find out if there is way to create a script to populate trusted site with all my sites instead of putting them in one at a time also create a script that will set all my setting for …
I am trying to run the following .msi cmd nothing happens on the system I am running it on.
msiexec.exe /q ALLUSERS=2 /m MSIMQXJO /i "OfficeModule_Installer_x64.msi"
I also tried
I have a text file which i would like to read and convert in to CSV.
i have attached the format i need test.txt, the file which i will pick from ftp folder will be dn.XXXXX.pre i have …
Is there any way to search for all instances of a string in notepad++ and delete the whole line
on which the string is found?
I need to run a powershell script endlessly, so I put this line at the end of the script:
however when I copy and paste this script and it reaches this line at the end, it …
Looking for a PowerCLI command that will return the last boot time of a guest VM.
Preferably, I would like to obtain this info form the properties of the Get-VmGuest cmdlet.
I have this powershell script to install patches on our machines continuously, I wanted the output of the results to be on the powershell window as well as log file how do I add this?
I running the code below to install critical patches on our systems, however the code hangs for some reason at :
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark …
Hi All SQL Server & scripting experts,
I've got multiple different version of SQL Server Database running from 2008 R2 up to 2014 edition.
Can anyone here please share the script (T-SQL or …
I have this script, however I only want it to run on windows 7 64 bit machines, how do I do this?
thank you in advance.
Is there a way to run a script in UNIX that opens 4 extra terminal windows and executes a specific script in each window?
Can anyone please assist me in modifying the below Powershell script to list which computer does not have specific software installed?
ProgramName = "*7-Zip 16.04 (x64)*"
Script 1 - …
i need a powershell script to get all AD user without displayname and export them to a csv file.
the script must get the user from specific OU.
after that, i need to use the csv file …
I have working script, but I would like to modify it. Maybe somebody here could help me with this.
This is script I am using to export some data from one web page:
in WGET …
actually for all my script, on the code i import a csv file like that:
i need now to execute directly the script from powershell console and give the csv file name like this:
I have this button on my powershell wpf gui, when clicked I want it to open another wpf gui which contains powershell code,
how do I do this?
thank you in advance
using Powershell, how can I change the power buttons action and USB selective suspend setting of the current power scheme
in Windows 10.
Thank You For your help...
I have just edited a bash script and then put it into the Cron directory as below:
Is that enough to make it works hourly ?
Any suggestion and help would be greatly …
So I have this script below, and when it goes and retrieves logs, I need it to actually create its own directory in a folder in the C: drive. I have attached the script.
Anybody have any ideas on…
i want use this command on my Python script :
(CODE) How can i do it on Python ?
I am in need of some assistance by creating a script that creates a subkey in the registry that contains the hostname:
The hostname needs …