All the scripts are saved as .txt files. Newer files have a "View Script" button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use "Save Target As". Rename file from Name_ext.txt to Name.ext.
To see a full post after searching, please click on the title.
PowerShell Scripts were written with Version 3 or 4.
https connections are supported.
All new users accounts must be approved, as are comments. Please be patient. It is pretty easy to figure out my email address from the scripts, and you are welcome to contact me that way.
Top Posts & Pages
- Get MAC Address from IP Address
- Delete Inactive User Profiles with PowerShell
- Getting GPO GUID, Name from Active Directory
- Get the NetBIOS AD Domain Name from the FQDN
- Export DNS Server Records with PowerShell
- Delete a List of Computer Accounts from Active Directory
- Scriptomatic on Windows 7 Solved
- Too many permissions in AD
- ShareEnum Alternative
- LDAP Ping
Category Archives: WMI
I got a call last week from a member of one the other teams where I work. He asked, “Do you have a script which will resolve a list of IP Addresses to MAC Addresses?” My answer was, “not yet”. … Continue reading
Also known as WMI Time, or WBEM DateTime, CIM_DATETime, https://msdn.microsoft.com/en-us/library/aa387237(v=vs.85).aspx, is that odd Windows DateTime format that shows values looking like “20160905103517.816236-240” The COM Object that presents this is WbemScripting.SWbemDateTime, and you frequently see code to convert to this format … Continue reading
This was forwarded to me from one of our Microsoft guys. I have been using a batch file to fix WMI with this line for years: WMI: Stop hurting yourself by using “for /f %%s in (‘dir /s /b *.mof … Continue reading
I support a number of hospitals. Many of these have very large facilities, where the placement of computers was originally done by a space planner or others trying to make an educated guess about how and where people would be … Continue reading
Like most large enterprises, we use a group policies to manage Internet Explorer settings. We manage the security settings, and we enforce which sites are in Trusted Sites and the other internet zones. The user cannot change the list, or … Continue reading
I was reviewing my blog stats today and found a link from a site in UK to my version of ScriptoMatic.hta. I have upgraded my home laptop to 8.1, and decided to see whether it still works (it does). If … Continue reading
I had a very nice experience today with PJ Technologies, the makers of the WMI Explorer, WMIX, (see http://www.goverlan.com/#WMI-Enterprise-Desktop-Management). I had to reinstall, and had misplaced the license key. They had it to me in minutes. I had a very … Continue reading
The SysInternals ShareEnum.exe program relies on the NETBIOS browser list and chokes in very large domains. I wanted a program which let me to audit share permissions with greater flexiblity. ShareEnum.wsf is an alternative to ShareEnum.exe. It relies on WMI to enumerate share permissions. The WMI … Continue reading
One of the questions that is frequently asked in a large organization is, “Who uses computer XYZ123?”. Many tools will report the current user, but the current user may or may not be the the person who usually works on a given computer. … Continue reading
UninstallJava.vbs creates a list of programs with “Java” in the name. It then uninstalls all but the most recent version. You can run it locally or against a remote computer. Update 1/18/14: This has been updated to manage post XP OS, where … Continue reading