help me to Get-WmiObject win32_volume -ComputerName server | Where-Object {...
output is not coming. please help me to identify the error in below commands Get-WmiObject win32_volume -ComputerName server | Where-Object { ($_.drivetype -eq 3) -and ($_.DriveLetter -eq "c:") -and...
View Articlevbscript reg value
Dear Exprt,by below script i can get stringname but not getting uninstall software what wrong in could you plz...
View ArticlePowershell Copy--Item special folders like My Documents
Hi, I'm using PowerShell 2.0 on Windows 7 and I'm just trying to write a simple script that will backup certain files/folders to an external USB drive. The script reads a .csv file for the locations...
View ArticleQuestion about simple script?
Hello, I would like to write a small program/script and am looking for advice on how to do so. I do not have a preference about which method or language to use, hopefully looking for the simplest way...
View ArticlePowershell Active Directory Account Expiration Date Script
Hello Kind Sirs,I am working on an account creation script. It has alot of moving parts. The part of the script I am working on now is the account expiration. There is a part of my script that asks...
View ArticleGetting Device Model for DesktopDisplay
I'm in desperate need of finding the MODEL name of my display programmatically.So I need to display this value However, in the Win32_DesktopMonitor ManagementObject class there is no call to retrieve...
View ArticleScript to uninstall a program on all stations in a domain with a DC Windows...
HelloI need to uninstall a software (in this case is Microsoft Security Essential) on 130 computers in a domain where the DC is Windows server 2008 R2. The domain computers are running Windows XP (most...
View Articlecreating a script that will be run via an Outlook rule.
Good afternoon,I was wondering, is there a way for a powershell script to be run via a rule on MS Outlook? and if so, how would i go about having said script open a new email with a specific "From"...
View ArticlePowershell Script Dropdown List Passes Argument to Expiration Date
Hello, I am trying to configure this script so that the user has a choice to make. If the user chooses "FTE", then the script proceeds to the next function. If the user chooses "Contractor", he is...
View ArticleProblem get multiple server output for check installed patches
Hi,I get the Power shell script from online and it able to show the latest pacthes installed in server but unable shows multiple servers result.Can anyone help me to make the script, shows multiple...
View ArticleHow To List Specific Shared Mailboxes
We have a hybrid email environment (On-Premise + O365)With the use of Powershell, i'm trying to get a list of mailboxes that meet the following criteria and after which will output the data to a csv...
View ArticleHow to copy a whole folder containing many thousand files and check all files...
it looks like simple, but it is not simple anymore. Task. I need to copy source files (Microsoft Office source files for example over slow WAN link into many user computers in nights and make sure all...
View ArticleIs there a 64 bit equivalent for MSSCriptcontrol for vb.net windows application
I have an pllication that get script function from back end and using msscriptcontrol, it executes the returning string as code. I would be grateful if I could acheive the same in 64 bit...
View ArticleQuestion about using PowerShell to detect web page availability and then...
I have a specific Windows 7 machine that needs to always display a specific Intranet page. (it shows an internal status page in kiosk mode).If this machine every loses connectivity to the web server,...
View ArticleNeed help getting VBScript to run remotely
I have a VBScript that runs fine locally but I also need to run it remotely on our network. I've tried using the code on this page http://technet.microsoft.com/en-us/library/ee692838.aspx#EBAA but I...
View ArticleReopen last used tabs in Powershell ISE
Hi Scripting GuysI use a lot of tabs in Powershell ISE console in my work, as an Administrator, and every time I close the ISE I need to reopen every tabs that I used before. So my question is:When I...
View ArticleAppending a creation date/time stamp to a filename using MS Command Language
I need to access the creation date and time of an existing file and then append that date/time to the filename using MS command language in a .bat file. The code executes on a Windows server. I'm...
View ArticleActive Directory ACL
Hi All,I have a requirement to get the list of object in AD which do not have inheritance set. I have used the below command and I am able to get the information but the output do not contain the name...
View Articlevbscript Task schedule
Dear Exprt,how to create task schedule one time on specific date. strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer...
View ArticleSingol Thread Error (STA) when open script by powershell
hi everyone. this is my script:[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") function...
View Article