File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
src/ServiceManagement/Services/Commands.Utilities Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 12
12
# limitations under the License.
13
13
# ----------------------------------------------------------------------------------
14
14
15
- function Get-ScriptDirectory
16
- {
17
- $Invocation = (Get-Variable MyInvocation - Scope 1 ).Value
18
- Split-Path $Invocation.MyCommand.Path
19
- }
20
-
21
- $modulePath = Join-Path $ (Split-Path ( Get-ScriptDirectory )) " Azure.psd1"
22
- $resourceModulePath = Join-Path $ (Split-Path (Get-ScriptDirectory )) " ..\..\ResourceManager\AzureResourceManager\AzureResourceManager.psd1"
23
- Import-Module $modulePath
24
-
25
- if (Test-Path $resourceModulePath )
26
- {
27
- Import-Module $resourceModulePath
28
- }
29
-
30
15
cd c:\
31
16
$welcomeMessage = @"
32
17
For a list of all Azure cmdlets type 'get-help azure'.
33
18
For a list of Windows Azure Pack cmdlets type 'Get-Command *wapack*'.
34
19
"@
35
20
Write-Output $welcomeMessage
36
-
37
- Set-ExecutionPolicy - Scope Process Undefined - Force
38
- if ($ (Get-ExecutionPolicy ) -eq " Restricted" )
39
- {
40
- Set-ExecutionPolicy - Scope Process - ExecutionPolicy RemoteSigned - Force
41
- }
You can’t perform that action at this time.
0 commit comments