Dalle on Twitter
Posts by
-
-
Recent Posts
Recent Comments
Archives
- January 2012
- December 2011
- November 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- June 2008
- April 2007
- June 2006
Categories
Deployment
PowerShell
Security
Tag Archives: WMI
Get the name of a computer
This a very simple task (gwmi win32_computersystem).name or (gwmi win32_computersystem -ComputerName myComputer).name
Automatic Bios update with PowerShell
I currently working with clients in an environment without any system that will update computers Bios automatically. So I have started to write a PowerShell script for this. It uses Windows Forms for the output and WMI for the information … Continue reading
PowerShell + Login Script
Working with a login script for my lab active directory. 100% PowerShell using .NET classes and WMI. This is VBScript login scripts with HTA on steroids The GUI part was done in 10-15 min with Primal Forms. Technorati … Continue reading
Posted in PowerShell Blogs
Tagged .net, Login Scripts, PowerShell Blogs, Windows forms, WMI
10 Comments
Get-ClientSiteName
This is another function that I use in Active Directory scripting. I use it when I want to create computer names with the syntax SitenameComputertypeNumbers. The function can be found here. Technorati Tags: PowerShell,WMI,Get-ClientSiteName,Active Directory
Posted in PowerShell Blogs
Tagged Active Directory, Get-ClientSiteName, PowerShell Blogs, WMI
Leave a comment
Get-ComputerType
I’m working on lots of Active Directory functions at the moment.For a larger Active Directory script. And one of the functions will get the computer type in clear text. What does this have to do with Active Directory management doask … Continue reading
Shutdown-Computer
I have made a function for my friend Anders Bengtsson that will do a Shutdown, Reboot or Log Off. The function uses Win32Shutdown in the WMI object Win32_Operatingsystem. Example: Shutdown-Computer mysrv01 ‘Log Off’ or Shutdown-Computer mysrv01 ‘Log Off’ other … Continue reading
How to get MAC Addresses from remote computers
When working with installation systems or other Network systems you often need your users MAC Address. You can ask the users to start cmd.exe and then do a ipconfig.exe /all. If you have 100-5000 users this can be a whole … Continue reading
Posted in PowerShell Blogs
Tagged PowerShell Blogs, Win32_NetworkAdapterConfiguration, WMI
Leave a comment
Display the Operating system version (as a function)
Almost the same as the last post. But this time we have It as a function. Technorati-taggar: PowerShell,WMI Andra (Bloggar.se) skriver om: PowerShell, WMI