In the following script, you monitor the disk space on a server to let you know when it falls below 100000000 bytes. If the free space falls below 100000000, a message is echoed to the screen every 5 seconds.
Tuesday, November 27, 2012
Friday, October 5, 2012
To get Model String
For Drivers deployment , we need to find the exact Manufacturer and Model to deploy using SCCM. s We need to create WMI Query to install the Driver Package based on Make & Model.
Set objShell = CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
strWinDir = objShell.ExpandEnvironmentStrings("%WinDir%")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem")
For Each objItem In colItems
Manufacturer = objItem.Manufacturer
Model = objItem.Model
Next
strThisComputer = Manufacturer & " - " & Model
intRetVal = InputBox("Use model string below for Drivers.xml", "Get Make and Model", strThisComputer)
Set objShell = CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
strWinDir = objShell.ExpandEnvironmentStrings("%WinDir%")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem")
For Each objItem In colItems
Manufacturer = objItem.Manufacturer
Model = objItem.Model
Next
strThisComputer = Manufacturer & " - " & Model
intRetVal = InputBox("Use model string below for Drivers.xml", "Get Make and Model", strThisComputer)
Friday, September 14, 2012
First Look: Windows Server 2012
Microsoft officially releases Windows Server 2012, the first
of its latest wave of new operating systems. It shares few things with the new
Windows 8 client operating system, including the same Windows NT 6.2 kernel,
the same Metro and Desktop split-personality graphical interface. It also
shares the same sort of cloud-centric focus as the Windows 8 client OS, except
rather than just connecting to cloud services, Server 2012 is intended to be
the building block for them.
Windows Server 2012: Cloud Optimize your IT
- Beyond Virtualization
- The Power of Many Servers, the Simplicity of One
- Every App, Any Cloud
- Modern Workstyle, Enabled
Tuesday, August 21, 2012
Scheduled DHCP Backup using Scheduled Tasks
We have recently upgraded 60 Windows 2003 DC to Windows 2008
R2 DC. After up-gradation, client wants to automate DHCP backup. We have
thought of going by scheduled tasks. We followed below procedure
A.
Create a batch file for DHCP Backup and copy
that file to all DHCP server
B.
Create a scheduled job on DHCP Server to run
DHCP Backup file
C.
Run Scheduled job to verify it’s configured
properly
D.
Verify
We want this task to be automated, as login to each server
and following the procedure will be time consuming job.
Thursday, August 16, 2012
System Center 2012: Data Protection Manager (DPM) - Installation
This blog post will provide the information and steps required to install System Center Data Protection Manager 2012 into your private cloud environment and configure the private cloud.
Please refer System Requirements for the hardware and software requirements needed to install SCAC 2012.
You can either use a physical or virtual machine that meets the above requirements. The machine that I am installing onto is a virtual Windows Server 2008 R2 SP1 server on Microsoft Hyper-V.
Tuesday, August 14, 2012
System Center 2012: App Controller - Installation
This blog post will provide the information and steps
required to install System Center App Controller 2012 into your private cloud
environment and configure the private cloud.
Please
refer System
Requirements for the hardware and software requirements needed to install
SCAC 2012.
You can either use a physical or
virtual machine that meets the above requirements. The machine that I am
installing onto is a virtual Windows Server 2008 R2 SP1 server on Microsoft
Hyper-V. You need to have System Center Virtual
Machine Manager 2012 already installed into your environment.
Now you need to
install the System Center Virtual Machine Manager 2012 Console onto the SCAC
2012 server.
Subscribe to:
Posts (Atom)
Azure Policy support for remediating tags for existing resources
Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...
-
This is regarding the activity recently I have completed at global IT services and consulting company . Their IT manager had a requiremen...
-
Many times we come across a scenario where we need to create bulk of AD user accounts. But who wants to spend a whole bunch of time for cre...
-
Deleting bulk user accounts made easy using Powershell. We have tested the below script in Windows Server 2008 R2 AD infrastructure. Use...
