Quick_Reference_WMI_ITPro_WS12R2.pdf - This two-page reference describes features that were introduced to Windows Management Instrumentation (WMI) starting in Windows PowerShell 3.0.Quickly learn how to manage remote servers that are running older versions of Windows Server by using Server Manager how to run Server Manager deployment cmdlets for Windows PowerShell how to save and export Server Manager settings, such as the servers you have added to the server pool, and custom server groups that you have created where to find Server Manager log files how to run popular WinRM commands such as creating a new listener how to install roles and features on offline VHDs and where to find documentation to help you manage multiple, remote servers by using Server Manager and Windows PowerShell. Quick_Reference_SM_WS12.pdf - This two-page reference describes common tasks that you can perform in the Server Manager console in Windows Server 2012 R2.This two-page reference provides an overview of how DSC works, and describes the DSC cmdlets, available resources, Local Configuration Manager, and advanced resource properties. PowerShell_DSC_v4.pdf - Windows PowerShell Desired State Configuration (DSC) is new for Windows PowerShell 4.0.This quick reference is provided by PowerShell Magazine. PowerShell_Examples_v4.pdf - This two-page reference describes how to perform popular IT management and scripting tasks by using Windows PowerShell 4.0, including how to fetch data by using Management OData IIS Services, how to schedule jobs, how to add a #Requires statement to a script, and how to save Help for a module that is not necessarily installed on the local computer.Also included are tips for configuring $ps.ISE options, profiles, and properties. PowerShell_ISE_v4.pdf - This two-page reference describes keyboard shortcuts and hotkeys that you can use to navigate Windows PowerShell Integrated Scripting Environment (ISE) more quickly, and describes the updated ISE object model.Also included is a Windows PowerShell reading and tutorial resource list. PowerShell_LangRef_v4.pdf - This four-page reference describes operators, arrays, useful commands, methods, and other tips for using Windows PowerShell 4.0.The following files are contained in this download. If you have any questions or suggestions, please leave your comment.The PDF files in this download are short-form Quick Reference (also called "cheat sheet") guides for IT professionals, developers, and scripting enthusiasts who want to learn tips, shortcuts, common operations, limitations, and proper syntax for using Windows PowerShell 4.0, Windows PowerShell Desired State Configuration (DSC), Windows PowerShell ISE, Windows PowerShell Web Access, Server Manager, WMI, and WS-Man in Windows Server 2012 R2 and Windows 8.1. To verify that the services started correctly type:Īnd that’s it! Opening the folder “D:\NewUpdatesDownloadFolder” you’ll see that the Windows update service already started to populate the folder.Īs always, if you found this article useful, share it with your friends. New-Item -Path C:\Windows\SoftwareDistribution -Value D:\NewUpdatesDownloadFolder -ItemType JunctionĪ new folder with a shortcut icon is now in C:\Windows New-Item D:\NewUpdatesDownloadFolder -ItemType Directory $deletefolder = "rmdir " + $qm + "C:\Windows\SoftwareDistribution" + $qm + " /S /Q" Probably I could use single quotation marks, but I’ll have to leave it for another time. Stopping the Windows update service (wuauserv)Īnd to determine the service status, type Get-Service wuauservĪnd again, to determine the service status, type Get-Service BITSĮxecute the following code, line by line Sorry for the next piece of code not being properly highlighted but the plugin I’m using to highlight code, somehow, doesn’t work properly with double quotation marks. This is where I’ll be creating the new folder to store the updates. To determine what volumes you have and their free space, type Get-VolumeĪs it is possible to see from the image above, I have a volume, which is called “Dados” (Drive D), that has about 372 GB free. If an UAC prompt pops-up, click “Yes”.ĭetermining the new folder location List Volumes Right-click the “ Start Menu” and click on “ Windows Powershell (Admin)“. What we’re trying to achieve here is to save some valuable space on our system drive. Remember that you’ll need to have at least two partitions on your computer or two different hard drives for this process to make sense. In this one, I’m going to do it using Powershell. In a previous article, I’ve shown you how to change the location of the Windows updates download folder, using the GUI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |