This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import configparser | |
config = configparser.ConfigParser() | |
config.read(os.path.dirname(__file__) + '/config.ini') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectLevelVcsManager" settingsEditedManually="false"> | |
<OptionsSetting value="true" id="Add" /> | |
<OptionsSetting value="true" id="Remove" /> | |
<OptionsSetting value="true" id="Checkout" /> | |
<OptionsSetting value="true" id="Update" /> | |
<OptionsSetting value="true" id="Status" /> | |
<OptionsSetting value="true" id="Edit" /> | |
<ConfirmationsSetting value="0" id="Add" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$VerbosePreference = 'Continue' | |
$DebugPreference = 'Continue' | |
$WarningPreference = 'Continue' | |
$Root = "C:\" | |
$Folder = "C:\2012SG\" | |
$NestedFolder = "C:\2012SG\event3\" | |
$FullPath = "C:\2012SG\event3\process3.txt" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -RunAsAdministrator | |
#Requires -Version 4.0 | |
$VerbosePreference = 'Continue' | |
$DebugPreference = 'Continue' | |
$WarningPreference = 'Continue' | |
function Get-StartupItems { | |
[cmdletbinding()] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Making sure the variables used in the script have their value set to $null before starting | |
$cpu = $null; | |
$cpupath = $null; | |
$msipackage = $null; | |
#Declaring variables | |
$cpupath = (gci env:\NUMBER_OF_PROCESSORS).value; | |
$msipackage = 'c:\users\shay\desktop\package.msi' |
NewerOlder