Website under construction



Download 13,37 Mb.
Pdf ko'rish
bet131/131
Sana27.03.2022
Hajmi13,37 Mb.
#512480
1   ...   123   124   125   126   127   128   129   130   131
Bog'liq
9780735697744 Introducing Windows Server 2016 pdf

IndexFile configuration 
IndexFile
is a simple configuration responsible for generating an Index.htm file on a server at the IIS 
default root directory (C:\Inetpubwwwroot\). The purpose of this file is to show a “Website under 
maintainence” message to users. It uses a File resource and creates a file named Index.htm in the 
C:\Inetpub\wwwroot folder with HTML content displaying, in this example, “If you are seeing this 
page, it means the website is under maintenance and DSC Rocks!!!!!” The configuration script that 
follows runs on the DemoServerWin10 server. The name is IndexFile.fcd03a8d-5a64-4982-92b3-
5c89680add39, and this is the same GUID value shown earlier for the 
IISInstall
configuration 
example. 
$ConfigInfoIndex = @{ 
AllNodes = @( 
@{ 
NodeName = "IndexFile.fcd03a8d-5a64-4982-92b3-5c89680add39" 



Configuration IndexFile 

Node $AllNodes.NodeName 

File IndexFile 

DestinationPath = "C:\inetpub\wwwroot\index.htm" 
Ensure = "Present" 
Type = "File" 
Force = $true 
Contents = " Website under construction. ` 

If you are seeing this page, it means the website is under maintenance and DSC Rocks 
!!!!!


Download 13,37 Mb.

Do'stlaringiz bilan baham:
1   ...   123   124   125   126   127   128   129   130   131




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish